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