*modent_unrealizerepresentation
Unloads the contents of a modular entity representation.
Syntax
*modent_unrealizerepresentation entity_type entity_id representation_key
Type
HyperMesh Tcl Modify Command
Description
Unloads the contents of a modular entity representation.
All entities that were brought into the session by loading the representation get deleted except for parts, partassemblies, partsets, and partconfigurations.
Inputs
- entity_type
- The type of modular entity to unload the representation from. Currently supported only for subsystems.
- entity_id
- The ID of the modular entity.
- representation_key
- The representation key to unload. This is unique per subsystem.
Examples
Unload the contents of the representation with key "crash5" from subsystem
3:
*modent_unrealizerepresentation subsystems 3 "crash5"
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