*rbe3updatewithset

Updates an RBE3 element with the given independent nodes or set of nodes along with DOFs and weights.

Syntax

*rbe3updatewithset elem_id independent_entity_type independent_mark_id independent_dofs independent_dof_size independent_weights independent_weight_size dependent_node dependent_dof dependent_weight attach_set

Type

HyperMesh Tcl Modify Command

Description

Updates an RBE3 element with the given independent nodes or set of nodes along with degrees of freedom and weights as listed below. When attach_set is set to 1, the attached set is created or updated from a given mark of independent nodes.

Inputs

elem_id
The ID of the RBE3 element to update.
independent_entity_type
The type of entity on the mark containing the independent entities. Valid values are nodes and sets.
independent_mark_id
The ID of the mark containing the independent nodes or sets of nodes. Valid values are 1 and 2.
independent_dofs
If set to 1, the independent DOFs defined in the integer array using *createarray is considered for respective independent nodes of the element (DOFs value is any of the digits from 1-6).
independent_dof_size
The size of the independent_dofs array.
independent_weights
If set to 1, the independent weights defined in the double array using *createdoublearray is considered for respective independent nodes of the element.
independent_weight_size
The size of the independent_weights array.
dependent_node
The dependent node of the element. If set to 0, the dependent node will be auto-created at the centroid of the independent nodes.
dependent_dof
The degree of freedom for the dependent node of the element (DOF value is any of the digits from 1-6).
dependent_weight
The weight assigned to the dependent node.
attach_set
If set to 1, the attached set is created or updated from a given mark of independent nodes.

Examples

To update an RBE3 element ID 1751 with auto created dependent node and independent set of nodes “set5” with all the independent and dependent nodes having all six degrees of freedom and a weight of 1.23:
*createmark sets 1 "set5"
*createarray 3 123456 123456 123456
*createdoublearray 3 1.230000 1.230000 1.230000
*rbe3updatewithset 1751 sets 1 1 3 1 3 0 123456 1.23 0
To update an RBE3 element ID 1751 with dependent node ID 100 and to create attached set for the given independent nodes 101, 102 and 103 with all the independent and dependent nodes having all six degrees of freedom and a weight of 1.23:
*createmark nodes 1 101 102 103
*createarray 3 123456 123456 123456
*createdoublearray 3 1.230000 1.230000 1.230000
*rbe3updatewithset 1751 nodes 1 1 3 1 3 100 123456 1.23 1

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