*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
The type of modular entity to add the representation information to. Currently only supported for subsystems.
entity_id
The ID of the modular entity.
representation_key
The key of the representation to add, which is unique per subsystem.
representation_file
The full path and file name of the representation.
representation_file_format
The representation file format. Valid values are Nastra, OptiStruct, Ls-Dyna, Radioss Block, Pamcrash 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