*modent_reparentbymark

Reparents a single or multiple modular entities under a different parent.

Syntax

*modent_reparentbymark entity_type new_parent_id mark_id ?options?

Type

HyperMesh Tcl Modify Command

Description

Reparents a single or multiple modular entities under a different parent.

Inputs

entity_type
The type of modular entities to reparent. Valid value is subsystems.
new_parent_id
The ID of the new parent of the modular entities.
mark_id
The ID of the mark containing the modular entities to reparent. Valid values are 1 and 2.
options
Optional list of quoted, comma separated option strings.

Examples

To reparent “Subsystem1” under subsystem ID 3:
*createmark subsystems 1 "Subsystem1"
*modent_reparentbymark subsystems 3 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.2