mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
def GetMeshEditor(self):
- return self.mesh.GetMeshEditor() + return self.editor
This commit is contained in:
parent
ff7d2479be
commit
0798335da8
@ -1764,14 +1764,14 @@ class Mesh:
|
|||||||
# @return an instance of SMESH_MeshEditor
|
# @return an instance of SMESH_MeshEditor
|
||||||
# @ingroup l1_modifying
|
# @ingroup l1_modifying
|
||||||
def GetMeshEditor(self):
|
def GetMeshEditor(self):
|
||||||
return self.mesh.GetMeshEditor()
|
return self.editor
|
||||||
|
|
||||||
## Wrap a list of IDs of elements or nodes into SMESH_IDSource which
|
## Wrap a list of IDs of elements or nodes into SMESH_IDSource which
|
||||||
# can be passed as argument to a method accepting mesh, group or sub-mesh
|
# can be passed as argument to a method accepting mesh, group or sub-mesh
|
||||||
# @return an instance of SMESH_IDSource
|
# @return an instance of SMESH_IDSource
|
||||||
# @ingroup l1_auxiliary
|
# @ingroup l1_auxiliary
|
||||||
def GetIDSource(self, ids, elemType):
|
def GetIDSource(self, ids, elemType):
|
||||||
return self.GetMeshEditor().MakeIDSource(ids, elemType)
|
return self.editor.MakeIDSource(ids, elemType)
|
||||||
|
|
||||||
## Gets MED Mesh
|
## Gets MED Mesh
|
||||||
# @return an instance of SALOME_MED::MESH
|
# @return an instance of SALOME_MED::MESH
|
||||||
|
Loading…
Reference in New Issue
Block a user