hm_addchildrenoflistsinmark

Add children entities of lists in a mark.

Syntax

hm_addchildrenoflistsinmark mark_id recursive references_mode

Type

HyperMesh Tcl Query Command

Description

Add children entities of lists in a mark.

Inputs

mark_id
The ID of the mark. Valid values are 1 and 2.
recursive
0 - Do not return children entities of children lists
1 - Return children entities of children lists
references_mode
Determines how to compute entities referred by children entities:
0 - No references are returned
1 - Direct containment, such as elems by comps, or nodes by sets
2 - Only applicable to comps containing nodes, and recursive content of sets and assemblies
3 - Direct references
4 - Direct descendants
5 - Expanded descendants

Examples

To populate mark 1 without recursion:
hm_addchildrenoflistsinmark 1 0 0

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