hm_me_repfiledataget

Returns the representation file name and file format in a key-value form.

Syntax

hm_me_rrepfiledataget part_id rep_key

Type

HyperWorks Tcl Query Command

Description

Returns the representation file name and file format in a key-value form. Either an occurrence or a prototype can be given.

Inputs

part_id
The ID of a part or a part assembly from which to retrieve the representation file name and file format.
rep_key
The representation key (name).

Example

To retrieve the file name and file format from part ID 5:
hm_me_repfiledataget 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