*modent_addrepresentations
Adds representation information to a modular entity.
Syntax
*modent_addrepresentations entity_type entity_id representation_key representation_file representation_file_format
Type
HyperMesh Tcl Modify Command
Description
Adds representation information to a modular entity.
Inputs
- entity_type
- Type of modular entity to add the representation information to. Currently only supported for subsystems.
- entity_id
- ID of the modular entity.
- representation_key
- Key of the representation to add, which is unique per subsystem.
- representation_file
- Full path and file name of the representation.
- representation_file_format
- The representation file format. Valid values are HyperMesh, Nastran, OptiStruct, LS-DYNA, Radioss Block, PAM-CRASH 2G, and Abaqus.
Examples
Add a representation with key "crash5", file
C:/representations/Subsystem1_Crash5mm.k, and format LS-DYNA to subsystem
3:
*modent_addrepresentations subsystems 3 "crash5" "C:/representations/Subsystem1_Crash5mm.k " "Ls-Dyna"
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
2022.2 – Added new value HyperMesh for representation_file_format.