hm_me_protoreptypeget
Returns the representation type of a part prototype.
Syntax
hm_me_protoreptypeget part_id rep_keyType
HyperWorks Tcl Query Command
Description
Returns the representation type. A part prototype should be given.
Inputs
- part_id
- The ID of a part or part assembly prototype from which to retrieve the representation type.
- rep_key
- The representation key (name).
Example
To retrieve the type of the ‘RepCAD’ representation for part prototype ID
5:
hm_me_protoreptypeget 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