mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-22 16:35:37 +05:00
fix GetSubMeshNodesId()
This commit is contained in:
parent
171b3e8882
commit
c4e4c8b73c
@ -2037,7 +2037,7 @@ class Mesh:
|
|||||||
# @ingroup l1_meshinfo
|
# @ingroup l1_meshinfo
|
||||||
def GetSubMeshNodesId(self, Shape, all):
|
def GetSubMeshNodesId(self, Shape, all):
|
||||||
if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
|
if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
|
||||||
ShapeID = Shape.GetSubShapeIndices()[0]
|
ShapeID = self.geompyD.GetSubShapeID( self.geom, Shape )
|
||||||
else:
|
else:
|
||||||
ShapeID = Shape
|
ShapeID = Shape
|
||||||
return self.mesh.GetSubMeshNodesId(ShapeID, all)
|
return self.mesh.GetSubMeshNodesId(ShapeID, all)
|
||||||
|
Loading…
Reference in New Issue
Block a user