Back to index

salome-smesh  6.5.0
Functions
Removing nodes and elements
Modifying meshes
Collaboration diagram for Removing nodes and elements:

Functions

def smeshDC.Mesh.RemoveElements
 Removes the elements from the mesh by ids.
def smeshDC.Mesh.RemoveNodes
 Removes nodes from mesh by ids.
def smeshDC.Mesh.RemoveOrphanNodes
 Removes all orphan (free) nodes from mesh.

Function Documentation

def smeshDC.Mesh.RemoveElements (   self,
  IDsOfElements 
)

Removes the elements from the mesh by ids.

Parameters:
IDsOfElementsis a list of ids of elements to remove
Returns:
True or False

Definition at line 2267 of file smeshDC.py.

02267 
02268     def RemoveElements(self, IDsOfElements):
02269         return self.editor.RemoveElements(IDsOfElements)

def smeshDC.Mesh.RemoveNodes (   self,
  IDsOfNodes 
)

Removes nodes from mesh by ids.

Parameters:
IDsOfNodesis a list of ids of nodes to remove
Returns:
True or False

Definition at line 2274 of file smeshDC.py.

02274 
02275     def RemoveNodes(self, IDsOfNodes):
02276         return self.editor.RemoveNodes(IDsOfNodes)

Removes all orphan (free) nodes from mesh.

Returns:
number of the removed nodes

Definition at line 2280 of file smeshDC.py.

02280 
02281     def RemoveOrphanNodes(self):
02282         return self.editor.RemoveOrphanNodes()