Salome HOME
- theObject = self.editor.MakeIDSource(theObject)
authoreap <eap@opencascade.com>
Fri, 1 Oct 2010 12:44:05 +0000 (12:44 +0000)
committereap <eap@opencascade.com>
Fri, 1 Oct 2010 12:44:05 +0000 (12:44 +0000)
+            theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)

src/SMESH_SWIG/smeshDC.py

index 57f89d9099724dcad37db0b730e3b289364a7248..d49a16b75dbc8cb0d4dfae7cd3934452c1936a28 100644 (file)
@@ -3428,7 +3428,7 @@ class Mesh:
         if ( isinstance( theObject, Mesh )):
             theObject = theObject.GetMesh()
         if ( isinstance( theObject, list )):
-            theObject = self.editor.MakeIDSource(theObject)
+            theObject = self.editor.MakeIDSource(theObject, SMESH.ALL)
 
         thePoint, Parameters = ParsePointStruct(thePoint)
         self.mesh.SetParameters(Parameters)
@@ -3449,7 +3449,7 @@ class Mesh:
         if (isinstance(theObject, Mesh)):
             theObject = theObject.GetMesh()
         if ( isinstance( theObject, list )):
-            theObject = self.editor.MakeIDSource(theObject)
+            theObject = self.editor.MakeIDSource(theObject,SMESH.ALL)
 
         mesh = self.editor.ScaleMakeMesh(theObject, thePoint, theScaleFact,
                                          MakeGroups, NewMeshName)