*modent_deleterepresentation

Deletes the representation information from a mark of modular entities.

Syntax

*modent_deleterepresentation entity_type mark_id content_entity_type representation_key delete_representation_file

Type

HyperMesh Tcl Modify Command

Description

Deletes the representation information from a mark of modular entities.

Inputs

entity_type
The type of modular entity to delete the representation from. Currently only supported for subsystems.
mark_id
The ID of the mark of modular entities. Valid values are 1 and 2.
representation_key
The key of the representation to delete, which is unique per subsystem.
delete_representation_file
0 - Keep the representation file in the file system
1 - Delete the representation file from the file system

Examples

Delete the information for representation with key "crash5" from subsystem 3, and keep the file in the file system:
*createmark subsystems 1 "by id only" 3
*modent_deleterepresentation subsystems 1 "crash5" 0

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