*rigidsconnectivityupdate

Updates a rigid/rigidlink element with the given independent and/or dependent nodes.

Syntax

*rigidsconnectivityupdate elem_id update_independent_node independent_node update_dependent_node dependent_entity_type dependent_mark_id ?dependent_type_change? ?config_change? ?attach_set?

Type

HyperMesh Tcl Modify Command

Description

Updates a rigid/rigidlink element with the given independent and/or dependent nodes. When attach_set is set to 1, the attached set is created or updated from a given mark of dependent nodes.

Inputs

elem_id
The ID of the rigid or rigidlink element to update.
update_independent_node
If set to 1, the independent node of the element is updated with the given node ID.
independent_node
The independent node of the element. If update_independent_node is set to 1, the independent node is updated with this ID.
update_dependent_node
If set to 1, the dependent nodes of the element are updated with the given nodes in the mark.
dependent_entity_type
The type of dependent entities on the mark. Valid values are nodes and sets.
dependent_mark_id
The ID of the mark containing the dependent nodes or sets of nodes. Valid values are 1 and 2.
dependent_type_change
If set to 1, the dependent selection type changed between multiple and single node selection considering the valid node counts.
config_change
If set to 1, the config of the element is changed between 5 (rigid) and 55 (rigidlink) considering the valid node counts.
attach_set
If set to 1, the attached set is created or updated from a given mark of dependent nodes.

Examples

To update a rigidlink element ID 1752 with independent node ID 1743 and dependent nodes 1792, 1832, 1833 and 1835:
*createmark nodes 1 1792 1832 1833 1835
*rigidsconnectivityupdate 1752 1 1743 1 nodes 1 0 0 0 
To update a rigidlink element ID 1752 with dependent set of nodes “set9”:
*createmark sets 1 "set9"
*rigidsconnectivityupdate 1752 0 1743 1 sets 1 0 0 0
To change a rigidlink element ID 1752 to rigid with dependent node ID 1576:
*createmark nodes 1 1576
*rigidsconnectivityupdate 1752 0 1743 1 nodes 1 1 1 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2026