hm_me_entitiesall

Returns all of the entity types and IDs contained in a module.

Syntax

hm_me_entitiesall id

Type

HyperWorks Tcl Query Command

Description

Returns all of the entity types and IDs contained in a module. The return is a list of lists, with the first value in each sublist being the entity type, and the remaining values being the entity IDs. For example:

{props 1 2} {mats 5} {elems 100 101 102} {nodes 100 101 102 103 104 105}

Inputs

id
The ID of the module to query.

Example

To get the entities contained in module 10:
hm_me_entitiesall 10

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

2017.1