Back to index

salome-smesh  6.5.0
Functions
Moving nodes
Modifying meshes
Collaboration diagram for Moving nodes:

Functions

def smeshDC.Mesh.MoveNode
 Moves the node with the given id.

Function Documentation

def smeshDC.Mesh.MoveNode (   self,
  NodeID,
  x,
  y,
  z 
)

Moves the node with the given id.

Parameters:
NodeIDthe id of the node
xa new X coordinate
ya new Y coordinate
za new Z coordinate
Returns:
True if succeed else False

Definition at line 2450 of file smeshDC.py.

02450 
02451     def MoveNode(self, NodeID, x, y, z):
02452         x,y,z,Parameters,hasVars = ParseParameters(x,y,z)
02453         if hasVars: self.mesh.SetParameters(Parameters)
02454         return self.editor.MoveNode(NodeID, x, y, z)

Here is the call graph for this function: