×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

dpx file's location

dpx file's location

dpx file's location

(OP)
How could I set the location of the *.dpx files from environment variable?

RE: dpx file's location

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
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: dpx file's location

(OP)
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.

RE: dpx file's location

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
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: dpx file's location

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
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: dpx file's location

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources