*ME_ModuleRepresentationRemoveFile2

Removes a representation file from a part or a part assembly.

Syntax

*ME_ModuleRepresentationRemoveFile2 part_id rep_key filename ?options?

Type

HyperMesh Tcl Modify Command

Description

Removes a representation file 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 a part assembly from which to remove the representation file.
rep_key
The representation key (name).
filename
The representation filename (complete file path).
options
Optional list of inputs passed as a comma separated string. Reserved for future use.

Example

To remove a representation file from part ID 5:
*ME_ModuleRepresentationRemoveFile2 5 RepCAD S:/ALT13120121_003_XML71.jt

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