*rigidsupdate_setattach
Attaches or detaches a dependent node set to selected rigid or rigid link elements.
Syntax
*rigidsupdate_setattach mark set_attach
Type
HyperMesh Tcl Modify
Description
Attaches or detaches a dependent node set to selected rigid or rigid link elements.
Inputs
- independent
- The independent node of the element.
- mark
- The ID of the mark containing the upated rigid and rigid link elements.
- set_attach
- A flag attaching (set_attach=1) or detaching (set_attach=0) dependent node sets from the selected elements.
Example
To convert rigid element 34 and rigid link elements 100, 123, 250 without attached node sets of dependent nodes to rigid link elements with dependent nodes attached as sets:
*createmark(elements,2) 34 100 123 250
*rigidsupdate_setattach(2,1)
To convert rigid link elements 350, 398, 400 with dependent nodes attached as sets to rigid link elements without attached node sets or to rigid elements:
*createmark(elements,2) 350 398 400
*rigidsupdate_setattach(2,0)
The *createmark() command is required to create a rigid link element with an attached independent node set.
While detaching node sets, the detached node sets are deleted. The dependent nodes become connected to the elements directly. Two-nodal rigid link elements "55" are being transformed to rigid elements "5".
While attaching node sets, the nodes sets with autogenerated names are created. The dependent nodes are being placed to the corresponding sets. Rigid elements "5" are being converted to two-nodal rigid link elements "55" with dependent nodes set.
Errors
None.