System Control Overview | Statement List


UG/Manager管理器

This section describes the GRIP commands that encode/decode UG/Manager part file names. These calls are not available when using Unigraphics without UG/Manager.

Encoding and Decoding Part File Names

When running GRIP programs in UG/Manager mode, you must specify the file name of a part in a different format from when you are running a GRIP program in standard Unigraphics mode.

NOTE: Unigraphics reserves the right to change the internal structure of the encoded format at any time. For this reason, the encoded syntax is not explained here because it is not needed. A GRIP programmer only needs to know how to interface with UG/Manager's encoded file format.

Encode Format

UG/Manager recognizes part file names in a special encoded string format, rather than the "<part number>.prt" form in standard Unigraphics. It is therefore necessary to encode the file name of a part into this special format before attempting to use it in any GRIP program running in UG/Manager mode that takes a part file name as input.

At a minimum, you always need a part-number and part-revision. The possible strings that you may use are:

For a UGPART dataset, the following is also required:

Decoded Format

Once you have an encoded string of the part file name, you may decode it at a later stage to obtain the constituent elements (part number, part revision, part file type, and part file name) using the GRIP UGMGRD.

The decoded format is simply a part file name broken down into its constituent elements (part number, part revision, part file type, and part file name).

NOTE: For more information about file formats, you may want to consult the applicable section in the UG/Open API Reference manual.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.