*ME_ModuleRepresentationRemove2

Removes a representation from a part or a part assembly.

Syntax

*ME_ModuleRepresentationRemove2 part_id rep_key ?options?

Type

HyperMesh Tcl Modify Command

Description

Removes a representation from a part or a part assembly. Either an occurrence or a prototype can be given.

Inputs

part_id
The ID of a part or part assembly from which to remove the representation.
rep_key
The representation key (name).
options
Optional list of inputs passed as a comma separated string. Reserved for future use.

Example

To remove the ‘RepCAD’ representation of part ID 5:
*ME_ModuleRepresentationRemove2 5 RepCAD

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

2023