*ME_ModuleOccurrenceRepresentationSet2

Sets a representation of a part or a part assembly.

Syntax

*ME_ModuleOccurrenceRepresentationSet2 part_id rep_key ?options?

Type

HyperMesh Tcl Modify Command

Description

Sets a representation of a part or a part assembly. Part occurrence should be given. Specific command will make selected representation current.

Inputs

part_id
The ID of a part or part assembly for which to set 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 set the representation of part ID 5 to ‘RepCAD’:
*ME_ModuleOccurrenceRepresentationSet2 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