Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

dpx file's location

Status
Not open for further replies.

aszepesi

Mechanical
May 26, 2010
81
How could I set the location of the *.dpx files from environment variable?
 
Replies continue below

Recommended for you

I would guess you could try putting it in your 'startup' folder. If you haven't already, create a folder (it can have any name you wish) and in this folder create another folder titled 'startup' and place the .dpx file(s) there.

Now set the variable...

UGII_USER_DIR=...

...to the path of the folder you created above.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
John,
I created the Hungarian localization which contains the ugii_hungarian.lng, localized customer defaults files (*.pdx) and the localized drawing standard files *.dpv.
When I copy the lng and the dpx files to the %UGII_BASE_DIR%\Localization folder and the dpv files to the %UGII_ROOT_DIR%\drafting_standards folder and I set the UGII_LANG=hungarian all are fine.
I tried what you said:
I created the following structure: %UGII_BASE_DIR%\hu\startup.
I copied all above files (lng, dpx, dpv) to the startup folder.
I set the followings variables:
UGII_USER_DIR=d:\ugs\nx75\hu
UGII_LANG=hungarian
but nothing.

When I added the UGII_LANGUAGE_FILE=d:\ugs\nx75\hu\startup\ugii_hungarian.lng variable to the above that the UI came in Hungarian but the Customer defaults came in English.
 
The .dpv file requires a different variable...

UGII_LOCAL_USER_DEFAULTS=...

...which points to where that file is located, but I would avoid using it since by default the .dpv file is already located in a user specific location, that is...

C:\Users\<username>\AppData\Local\Unigraphics Solutions\NX75...

...which BTW is what the above variable is already pointing to as set in the 'ugii_env_ug.dat' file.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
OK, after much discussion we have no choice but to make the following statement, which will be as official a position as we can take here in a public forum:

Modifying the NX .dpx files is unsupported and can render NX inoperable. Attempting to cause NX to use .dpx files other than the supplied languages is not supported.

However, the use of the customized Hungarian .lng file is supported and is enabled by setting the UGII_LANG variable in conjunction with the UGII_LANGUAGE_FILE variable, but as you have already noted, this has no effect on the language used for the Customer Default pages and dialogs.


We're sorry, but this is as good as it gets.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
John,
Thanks a lot.
It is true, the NX can crash because of mismatch xml encoding and failed xml structure.
I ask you because you are the Product 'Evangelist' gentleman how could I reach that the Hungarian language will be supplied language?
Could you add some instructions or not public answer to me the following address?
attila.szepesi'at'graphit.hu
Thanks, again.

PS: IR 1797642 has been converted to PR 1797642; Desc: DOC: Gap in Internationalization & Localization Help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor