hm_me_modulegetstructuraltype
Returns a module's type, either model, assembly or part.
Syntax
hm_me_modulegetstructuraltype idType
HyperWorks Tcl Query
Description
Returns a module's type, either model, assembly or part.
Inputs
- id
- The ID of the module to query.
Example
To get the type of module 10:
hm_me_modulegetstructuraltype 10
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}