*library_delete_rep

Deletes representations from an opened library.

Syntax

*library_delete_rep entity_type string_array number_of_strings rep_alias_list

Type

HyperMesh Tcl Modify Command

Description

Deletes representations from an opened library.

Inputs

entity_type
The entity type stored in the library. Currently supported for parts and subsystems.
string_array
The string array ID that contains:
  • UID
  • Major revision
  • Study revision
The string array is created using the *createstringarray command. This should always be set to 1.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray. The array should contain three strings, so this should be always set to 3 for this specific command.
rep_alias_list
The list of representation alias names to delete.

Examples

To delete the “NVH 10mm” representation of major revision A or part with UID LeftInner_A:
*createstringarray 3 "LeftInner_A" "A" "-"
*library_delete_rep parts 1 3 "NVH 10mm"

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

2026