System Control Overview | Statement List
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.
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.
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:
Part number (IMAN item Id)
Part revision (IMAN item revision Id)
For a UGPART dataset, the following is also required:
Part file type name (IMAN relationship - specification or manifestation)
Part file name (IMAN dataset name)
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.