*movesolvermasses

Moves the child solvermasses from one parent solvermass to another parent solvermass.

Syntax

*movesolvermasses solvermass_mark_id target_solvermass_id

Type

HyperMesh Tcl Modify Command

Description

Moves the child solvermasses with config 101 from one parent to another parent solvermass with config 105. Parent solvermass with config 105 can also be put into the source_mark_id. In such case all child in the parent entity will be moved to a new parent.

Inputs

solvermass_mark_id
The ID of the mark containing solvermasses. Valid values are 1 and 2.
target_solvermass_id
The ID of the target solvermass.

Examples

To move child solvermasses with ID 1 to 5 from old parent to new parent solvermass ID 6:

*createmark solvermasses 1 1-5
*movesolvermasses 1 6

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

2022