Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: routing library instance

Siemens Esteemed Contributor Siemens Esteemed Contributor
Siemens Esteemed Contributor

You should find a description of the variable in your environment file:

C:\Program Files\Siemens\NX 10.0\UGII\ugii_env_ug.dat

 

#      UGII_ROUTING_MEMBER_SAVE_DIR   Directory in which Routing creates
#                                     part family members from template
#                                     files during Place Part
#                                     operation (no default value)

To use the variable, I would add it to your ugii_env.dat file, which is where any changes to environment variables should be managed:

 

C:\Program Files\Siemens\NX 10.0\UGII\ugii_env.dat

 

#
#     Copyright 1991 - 2013 Siemens Product Lifecycle Management Software Inc.
#                                   All Rights Reserved.
#
###############################################################################
# 
#
# This file should be used to override any standard NX environment variables.
# The values defined here will take precedence over the NX values. This file 
# will not be overwritten by an MR installation. 
#
# Override any variables here.
UGII_ROUTING_MEMBER_SAVE_DIR=C:\my_routing_member_files

#

Restart NX once you've made your changes.

If you don't have write access to this file you could try setting the variable as a Windows User Environment Variable.

 

Regards, Ben

Re: routing library instance

Pioneer
Pioneer

Hello,

 

I did create a new windows environment variable, and it is working fine.

Is it better if I create it in the ugii_env.dat instead?

 

Thank you very much for your help, I really appreciate it!

Thank you for your reply

Eric Ferland
NX12 user

Re: routing library instance

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

It depends...

Are you a "one person site", or do many people use NX at your location?

 

If the latter, you might want to look at the "NXCustom" environment

- In this community, go to the NX Customization & Programming forum

- In the first few posts, there will be one referencing NXCustom
   https://community.plm.automation.siemens.com/t5/NX-Programming-Customization-Forum/NXcustom-Utilitie...

 

- read thru to find your NX version

- download, unzip, read the "readme", follow the instructions

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: routing library instance

Siemens Esteemed Contributor Siemens Esteemed Contributor
Siemens Esteemed Contributor

Is it better if I create it in the ugii_env.dat instead?

As @Ken_A stated, it depends on the scope.

 

If it's just you then you can create it either in the ugii_env.dat file or as a Windows Environment Variable.  Both are as valid as each other - it just comes down to personal preference.  I personally manage mine using windows rather than the env file, because I can get to them quickly and because I use multiple versions of NX in a single day.  Another thing to consider is if a variable has multiple values.  If you're using the env file you can enter a commented out line with the valid values and copy/paste as required.  You can do this with the Windows variables, but the dialog is so small they're not as easy to manage.

 

If you need to set this up for multiple users consider implementing NX Custom.  Otherwise, you can place a copy of the ugii_env.dat file on a network shared location and point each user to it using the variable UGII_ENV_FILE.

 

Regards, Ben

Re: routing library instance

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I'm not a routing application user, but this seems like an important setting. I'm surprised it can't be set through the customer defaults GUI?