*modent_saverepresentation
Saves the contents of a modular entity representation.
Syntax
*modent_saverepresentation entity_type entity_id options
Type
HyperMesh Tcl Modify Command
Description
Saves the contents of a modular entity representation. When entity_type is subsystem, the saved representation will always be in HyperMesh database format (*.hm).
Inputs
- entity_type
- Type of modular entity to save the representation of. Currently only supported for subsystems.
- entity_id
- ID of the modular entity.
- options
- Optional list of quoted, comma separated option strings.
Examples
Save the contents of subsystem with ID 1 as a representation with key "crash5" in location
"C:/representations/Subsystem3_Crash5mm.hm":
*modent_saverepresentation subsystems 1 "repKey=crash5, filepath=C:/representations/Subsystem3_Crash5mm.hm"
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
2021.1 – Added repcomment=<value>.
2022.2 – Subsystem representations are saved in a HyperMesh database.