hm_modent_getentityparent

Returns the hierarchical modular entity parent of a specific entity.

Syntax

hm_modent_getentityparent entity_type entity_id parent_entity_type

Type

HyperMesh Tcl Query Command

Description

Returns the hierarchical modular entity parent of a specific entity.

Inputs

entity_type
The type of entity to query.
entity_id
The ID of the entity to query.
parent_entity_type
The type of parent entity to query. Valid values are subsystemconfigurations, subsystems, and subsystemsets.

Examples

To return the parent subsystem of component 1000:

hm_modent_getentityparent comps 1000 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