- ## 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:
eap 2009-06-18 12:45:53 +00:00
parent 8735b17bdc
commit 6d0508c77b

View File

@ -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)):