*addposition

Adds a solver position into another solver position entity.

Syntax

*addposition mark_id1 mark_id2

Type

HyperMesh Tcl Modify Command

Description

Adds a solver position into another solver position entity. Currently only supported to add positions with config 407 into positions with config 408 in PAM-CRASH Interface. Alternatively, *setvalue can be used.

Inputs

mark_id1
The ID of the mark containing the position entities to which the positions in mark_id2 must be added to.
mark_id2
The ID of the mark containing the positions entities to be added.

Examples

To add all the positions with config 407 to all the positions with config 408:

*createmark positions 1 "by config" "407"
*createmark positions 2 "by config" "408"
*addposition 2 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

2021.1