hm_modent_getchildren

Get a mark of hierarchical children entities from a modular entity.

Syntax

hm_modent_getchildren entity_id mark_id recursive

Type

HyperMesh Tcl Query Command

Description

Get a mark of hierarchical children entities from a modular entity.

Inputs

entity_id
The ID of the modular entity.
mark_id
The ID of the mark to output the children entities.
recursive
0 - Return only the first level of hierarchical children.
1 - Return all levels of hierarchical children.

Examples

To return all children on mark 1 for subsystem 2:

hm_modent_getchildren 2 1 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

2020