hm_getentityroot

Returns the ID of the root entity for a given modular entity type.

Syntax

hm_getentityroot entity_type

Type

HyperMesh Tcl Query Command

Description

Returns the ID of the root entity for a given modular entity type.

Inputs

entity_type
The modular entity type. Currently only supported for subsystems.

Example

To query the root for subsystems:

hm_getentityroot subsystems

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

2020