hm_allentitiesinfo
Get information about all entities of the given type in the current model. A single call returns a list where every HyperMesh entity of the specified type (currently only assemblies, components, multibodies, materials, and properties are supported) is represented with a single list item. Each list item is identical to the return value of the command, hm_entityinfo all for that entity.
Syntax
hm_allentitiesinfo entityType
Type
HyperMesh Tcl Query
Inputs
- entityType
- Type of entity.
Example
For the model on the left (assemblies denoted with folders, components with sheets),
commands hm_allentities assemblies and hm_allentities
components would generate the respective outputs on the right.
{base 1 1 1 3} {attachments 2 1 1 3} {wheel 3 0 0 3} {head 4 1 1 3} {empty 5 0 0 3}
{Part1 1 1 1 7 -1 -1} {Part2 4 1 1 10 -1 -1} {Part4 7 1 1 13 -1 -1} {Part3 9 1 1 15 -1 -1}