hm_me_moduleget

Returns the module ID an entity belongs to.

Syntax

hm_me_moduleget entity_type entity_id

Type

HyperWorks Tcl Query Command

Description

Returns the module ID an entity belongs to.

Inputs

entity_id
The type of entity to query.
entity_type
The type of entity to query.

Example

To get the module ID that property 10 belongs to:
hm_me_moduleget props 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