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!

NX8 Setup Questions

Status
Not open for further replies.

looslib

Mechanical
Jul 9, 2001
4,205
To run multiple versions of NX, it is best to set up a batch file that launches each version with the proper environment settings.

If you do an #include <local_ugii_env.dat> file at the end of the site one, that should do what you want. You can use system variables to point to %username% for each user's local file.

I haven't done NX admin for a few releases, so their may be different ways to do this in NX8.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Replies continue below

Recommended for you

If you have access to QTAC and the GTAC Support Forums.

Then go to the NX CAD section and search for a thread called Customizing NX8 on Windows posted by a guy at Siemens.

Its a god start for customizing NX.


You can also search for Customizing NX(insert version) on Windows for older versions of NX.

In the thread for customizing NX7.5 you can download pdf called Customizing NX on Windows.pdf

Regards

MND

NX5, NX6, NX7.5 and NX8
I-deas 12, NX I-deas6.1m1
 
Thanks guys -

Matnas,

If you are talking about Rob Cohon, then I have already seen this and he has created a very indepth customization package.



sumBuddy (Mechanical)

--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."
 
Yes, the stuff that Rob wrote on customizing NX is a great start, especially if you run multiple versions.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
@sumbuddy, yes it can be done using a env file. I am doing it for 10 versions of NX (NX4 to NX7, All the NX7.5s and NX8).

I set the system environment variable UGII_ENV_FILE to point at my env file.

Then in that ENV file I set all the common variables at the start, then I test for the version of NX you have started, by using either the variable UGII_VERSION or UGII_FULL_VERSION, see below for what I mean:

#########################################################################################
########## NX6 ############################################################
#########################################################################################
#if $UGII_VERSION = "v6"
UGII_BASE_DIR=c:\eng_apps\nx6.0.5.3
UGII_ROOT_DIR=${UGII_ROOT_DIR}\UGII\
UGII_USER_PROFILE_DIR=${AMG_CUSTOM_DIR}\nx_v6\user
UGII_USER_DIR=${AMG_CUSTOM_DIR}\nx_v6\user
UGII_SITE_DIR=${AMG_CUSTOM_DIR}\nx_v6\site
#if FILE ${UGII_BASE_DIR}\ugii\ugii_env.dat
#include ${UGII_BASE_DIR}\ugii\ugii_env.dat
#endif
#endif

#########################################################################################
########## NX7.5.0 ############################################################
#########################################################################################
#if $UGII_FULL_VERSION = "v7.5.0.32"
UGII_BASE_DIR=c:\eng_apps\nx7.5.0.32
UGII_ROOT_DIR=${UGII_ROOT_DIR}\UGII\
UGII_USER_PROFILE_DIR=${AMG_CUSTOM_DIR}\nx_v7.5\user
UGII_USER_DIR=${AMG_CUSTOM_DIR}\nx_v7.5\user
UGII_SITE_DIR=${AMG_CUSTOM_DIR}\nx_v7.5\site

#if FILE ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#include ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#endif
#endif

You will see that I set the BASE & ROOT DIR and other dirs. The most important thing is at the end to include the standard NX env file (ugii_env.dat for NX6 and ugii_env_ug.dat for NX7 and above).

I used to advocate the bat file method, but I have been testing this for the last 2 weeks and rather like the fact it's one file for all the versions I run.


Anthony Galante
Technical Resource Coordinator

NX4.0.4MP10, NX5.0.0->5.0.6, NX6.0.0->NX6.0.5, NX7.0.0->NX7.0.1 & NX7.5.0.32-> NX7.5.4.4, Beta NX8.0.0.25
 
Thanks Anthony -

Works great and I feel that this method is cleaner than using BAT files to load.



sumBuddy (Mechanical)

--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor