*ME_ModuleRepresentationChangeKey
Changes the representation key.
Syntax
*ME_ModuleRepresentationChangeKey part_id new_rep_key ?options?
Type
HyperMesh Tcl Modify Command
Description
Changes the representation key. Either an occurrence or a prototype can be given.
Inputs
- part_id
- The ID of a part or a part assembly for which to change the representation key.
- new_rep_key
- The new representation key (name).
- options
- The optional list of inputs passed as a comma separated string.
- old_key=<value>
- The old representation key.
Example
To change the representation key for part ID
5:
*ME_ModuleRepresentationChangeKey 5 RepCAD1 "old_key=RepCAD_A"
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