*markmovetoskeleton

Moves memberjoints, members and memberpanels to skeleton entity.

Syntax

*markmovetoskeleton skeleton_id entity_type mark_id

Type

HyperMesh Tcl Modify Command

Description

Moves memberjoints, members or memberpanels to specified skeleton entity following a top-down approach. If a member is moved, the associated member joints will also be moved to the skeleton root. Similarly, if a member panel is moved, the associated members along with the member joints comprising the members will be moved to the skeleton root.

Inputs

skeleton_id
The ID of the skeleton to which the entities are moved to.
entity_type
The entity type to be moved. Valid values are memberjoints, members and memberpanels.
mark_id
The ID of the mark containing the entities to be moved. Valid values are 1 and 2.

Examples

To move member "member1" and associated member joints to skeleton with ID 1:

*createmark members 1 "member1"
*markmovetoskeleton 1 members 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

2022