mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
- ## Returns the list of IDs of submesh elements with the given type
+ ## Returns type of elements on given shape # @param Shape a geom object(subshape) IOR # Shape must be a subshape of a ShapeToMesh() - # @return the list of integer values + # @return element type # @ingroup l1_meshinfo def GetSubMeshElementType(self, Shape): if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
This commit is contained in:
parent
8735b17bdc
commit
6d0508c77b
@ -1804,10 +1804,10 @@ class Mesh:
|
|||||||
ShapeID = Shape
|
ShapeID = Shape
|
||||||
return self.mesh.GetSubMeshNodesId(ShapeID, all)
|
return self.mesh.GetSubMeshNodesId(ShapeID, all)
|
||||||
|
|
||||||
## Returns the list of IDs of submesh elements with the given type
|
## Returns type of elements on given shape
|
||||||
# @param Shape a geom object(subshape) IOR
|
# @param Shape a geom object(subshape) IOR
|
||||||
# Shape must be a subshape of a ShapeToMesh()
|
# Shape must be a subshape of a ShapeToMesh()
|
||||||
# @return the list of integer values
|
# @return element type
|
||||||
# @ingroup l1_meshinfo
|
# @ingroup l1_meshinfo
|
||||||
def GetSubMeshElementType(self, Shape):
|
def GetSubMeshElementType(self, Shape):
|
||||||
if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
|
if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
|
||||||
|
Loading…
Reference in New Issue
Block a user