hm_me_occrepkeyget

Returns the representation key of a part occurrence.

Syntax

hm_me_occrepkeyget part_id

Type

HyperWorks Tcl Query Command

Description

Returns the representation key of a part occurrence. A part occurrence should be given.

Inputs

part_id
The ID of a part or part assembly from which to retrieve the representation key.

Example

To retrieve the representation key from part ID 5:
hm_me_occrepkeyget 5

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