hm_modent_getrepresentationdefinitions
Returns the number of modular entity representations available, and those realized.
Syntax
hm_modent_getrepresentationdefinitions entity_type mark_id ignore_transient
Type
HyperMesh Tcl Query Command
Description
Returns the number of modular entity representations available, and those realized.
They are returned by their representation keys (identifier). For example:
Crash5 { avaialble 2 realized 1 }
Crash10 { available 1 realized 0 }
Inputs
- entity_type
 - The modular entity type. Currently only supported for subsystems.
 - mark_id
 - The ID of the mark containing the modular entities. Valid values are 1 and 2.
 - ignore_transient
 - 0 - Return all representations
 
Examples
To get the saved representations that are available, and those realized, for subsystems on mark 1:
*createmark subsystems "by id only" 4 6 8
hm_modent_getrepresentationdefinitions subsystems 1 0
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
2020