hm_modent_getmodifiedbyids
Returns a list of modular entities modified after a representation has been realized.
Syntax
hm_modent_getmodifiedbyids entity_type mark_id
Type
HyperMesh Tcl Query Command
Description
Returns a list of modular entities modified after a representation has been realized.
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.
Examples
To get the list of subsystems modified after a representation has been realized:
*modent_addrepresentations subsystems 3 "crash5" "C:/representations/Subsystem1_Crash5mm.k " "Ls-Dyna"
*modent_realizerepresentation subsystems 3 "crash5"
*createmark comps 1 “by id only” 1 2 3
*modent_addcontentsbymark subsystems 3 comps 1
hm_modent_getmodifiedbyids subsystems 1
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
2020