*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.

Inputs

entity_type
The type of modular entity to save the representation of. Currently only supported for subsystems.
entity_id
The ID of the modular entity.
options
Optional list of quoted, comma separated option strings.
repKey=<value>
The representation key. This is unique per subsystem.
filepath=<value>
The full path and file name of the representation file.

Examples

Save the contents of subsystem 3 as a representation with key "crash5" in location "C:/representations/Subsystem3_Crash5mm.k":
*createmark comps 1 "by id only" 4 6 8
*modent_saverepresentation subsystems 3 "repKey=crash5, filepath=C:/representations/Subsystem3_Crash5mm.k"

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