Details
A common request from customers is to create JT files using customized strings.
This is possible, to some extent, by using the variables listed below.
The information below come directly for development. The info reported in the help of the software about this topic are sometimes out of date.
Solution
Some setting is provided in order to customize the jt file name. These are listed below.
There is no way to control the number of underscores "_" among the name parts.
This behavior is embedded in the software and there is no way for the user to modify it.
Settings are:
In general, JT file names generated by UGTOPV executable will be in following format:
---- [ITEM ID]_[ITEM REV]_[ITEM NAME].jt ( If UGII_GENERATE_MULTI_CAD_JT variable set)
OR
---- [ITEM ID]_[ITEM REV]___[REFSET NAME].jt ( If UGII_GENERATE_MULTI_CAD_JT variable is NOT set)
When UGII_GENERATE_MULTI_CAD_JT is not set, translator behavior is to create a JT file for each reference set in part. So JT name is formed adding reference set name [ITEM ID]_[ITEM REV]___[REFSET NAME].
There is no control to change this naming scheme.
If UGII_GENERATE_MULTI_CAD_JT is set, translator behavior is to create single JT which has all reference set data. Here JT name is formed adding Item Names if specified.
In this workflow, JT file names can be controlled through some tessUG.config settings. These are,
appendItemName = true
appendRevision = true
configureFileName = true
With these settings, user will get naming scheme as [ITEM ID]_[ITEM REV]_[ITEM NAME]
If you are trying these settings in NX11 onwards, you have to set extra token in tessUG.config (in ugConfig{} section)
appendTCIdentifiers = "UNIQUE_ITEM_IDENTIFIERS"
The option appendTCIdentifiers has following values,
appendTCIdentifiers = "NX_DISPLAY_NAME" This value is to get exact name as seen in NX/TC RAC (This is by default set from NX11 onwards.)
appendTCIdentifiers = "UNIQUE_ITEM_IDENTIFIERS" This value is to keep old behavior (Pre NX11 behavior)
Hardware/Software Configuration
Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: TRANSLATOR
Function: NX_JT
Ref: 002-8014834