*ME_ModuleRepresentationDetailAction
Configures representation metadata.
Syntax
*ME_ModuleRepresentationDetailAction part_id rep_key action ?option1=<value1>? ?option2=<value2>? … ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Sets or removes representation metadata. Either an occurrence or a prototype can be given. If occurrence ID is given, representation should have been at least added to specific occurrence prior metadata configuration. The metadata attribute and value are being provided via options.
Inputs
- part_id
- The ID of a part or a part assembly you want to perform the representation detail action.
- rep_key
- The representation key (name).
- action
- The detail action to perform (set or remove).
- metadata_name=<value>
- The name of the metadata.
- metadata_value=<value>
- The value of the metadata.
- metadata_type=<value>
- The type of the metadata.
Example
To set metadata to the ‘RepCAD’ representation of part ID
5:
*ME_ModuleRepresentationDetailAction 5 RepCAD set metadata_name=test metadata_value=test_value metadata_type=string
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