]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
instance of Parameter can be passed into Geom objects
authorasl <asl@opencascade.com>
Mon, 14 Dec 2009 11:43:35 +0000 (11:43 +0000)
committerasl <asl@opencascade.com>
Mon, 14 Dec 2009 11:43:35 +0000 (11:43 +0000)
src/GEOM_SWIG/geompyDC.py

index b668403500cd587c92a8625cff2e68868f555eeb..fe62ce326b902e02137d235b535db5290c1ca4e9 100644 (file)
@@ -107,6 +107,9 @@ def ParseParameters(*parameters):
                p = notebook.get(parameter)
             Result.append(p)
             Params.append(parameter)
+       elif isinstance(parameter, SALOME._objref_Parameter):
+            Result.append(notebook.get(parameter))
+            Params.append(parameter.GetEntry())
         else:
             Result.append(parameter)
             Params.append("")