hm_me_repdetailget
Returns the requested metadata attributes from a part representation.
Syntax
hm_me_repdetailget part_id rep_key metadata_attributeType
HyperWorks Tcl Query Command
Description
Returns the requested metadata attributes from representation. Either part occurrence or part prototype can be given. Request can be done for one attribute via the metadata attribute name or for all the configured metadata via “?”.
Inputs
- part_id
- The ID of a part or part assembly from which to retrieve the representation metadata.
- rep_key
- The representation key (name).
- metadata_attribute
- The metadata attribute name or “?” for all metadata.
Example
hm_me_repdetailget 5 RepCAD fileformat
hm_me_repdetailget 5 RepCAD ?
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2023