Sei sulla pagina 1di 3

Join

Directory
Search
Go Find A Forum Go
Tell A Friend
Whitepapers
Jobs

Home > Forums > Engineering Computer Programs > General Engineering Programs > UGS: Unigraphics (UG/NX) Forum
ugii_env.dat : NX6 vs NX7.5
thread561-272953
Simplify Your Conceptual
Next Embedded Estimates In
Design Minutes
No question Model Conceptual
practices and Estimates using
methodologies REAL Buildings.
behind system LEARN MORE!
potrero (Mechanical) design need... www.dcdarchives.com 25
mentor.com/embedded
May
10
12:32
This is mainly an FYI. In NX6 and prior releases, we used to modify the "ugii_env .dat" file inside [UGII_BA SE_DIR]\UGII\ to set things such as the location
of the directory for custom company part templates, etc. It look s lik e there has been a major change to the role/function of the "ugii_env .dat" file in NX7.5,
as the file itself is almost entirely empty now, after a clean install. I searched the documentation for references as to the changes in the ugii_env .dat file
between NX6 and NX7.5, but am not sure I found any thing really explicit. The clues to the changes are in the ugii_env .dat and ugii_env _ug.dat files
themselv es.

Here is the content of the new (NX7.5) ugii_env .dat file:

#
# Copy right 1991 - 2009 Siemens Product Lifecy cle Management Software Inc.
# All Rights Reserv ed.
#
###############################################################################
#
#
# This file should be used to ov erride any standard NX env ironment v ariables.
# The v alues defined here will tak e precedence ov er the NX v alues, as long as
# they are defined before the #include of ugii_env _ug.dat. This file will not
# be ov erwritten by an MR installation.
#
# Ov erride any v ariables here.

#
# Do not define any v ariables after the #include below. They must be defined
# before the #include in order to ov erride the NX defaults.
#
#if FILE ${UGII_BASE_DIR}\ugii\ugii_env _ug.dat
#include ${UGII_BA SE_DIR}\ugii\ugii_env _ug.dat
#endif

A nd here is the preamble of the NX7.5 "ugii_env _ug.dat" file:

# NOTE: Customer changes should be made to the ugii_env .dat file directly ,
# which then includes this file. This file will be replaced when a
# MR is loaded, so customers should not edit this file. Env ironment
# v ariables in ugii_env .dat supercede any v alues here, so ov erride the
# defaults by defining the v alue in the ugii_env .dat file, which will
# not be replaced during MR updates.

So, the bottom line is, mak e y our customizations to env ironment v ariables in the ugii_env .dat file, just lik e the old v ersion. What's changed is that this file
won't get ov erwritten with Maintenance Releases. I suppose this is a nice change.
JohnRBaker (Mechanical) 25
May
10
13:16
This is one reason why I start my v arious v ersions of UG/NX from a .bat file since I can set all my env ironment v ariables there with no fear that any of them
will ev er be ov erwritten by an install or update. Remember, I not only install all the MR's, but during integration I get all of the dev elopment copies and so
when y ou go from one integration phase to the next, there are NO update tools, y ou hav e to deinstall the old copy of NX and start ov er from scratch each
time (well, at least I get to thoroughly test the deinstall and install script for each release since I often hav e to repeast this process 20 times are so with each
new v ersion of NX ;-)

A lso using .bat files allows me place shortcuts on the desk top which is really handy when y ou hav e as many v ersions of UG/NX installed as I do (11 at the
moment, but I only place the last 4 on the actual desk top with the rest inside a folder, which has its own shortcut on the desk top).

John R. Baker, P.E.


Product 'Ev angelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cy press, 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.

HerbC (Automotiv e) 26
May
10
14:08
John,

That sounds lik e a great idea.


I would be interested in seeing the .bat file that y ou are using to start NX. Are y ou willing to share?

Herb C.
Eifel Mold & Engineering Inc.
Plastics Tooling Designer
UG NX-6.0

JohnRBaker (Mechanical) 26
May
10
15:25
A ttached is a copy of a generic .bat file which can be used to start a session of NX. It's self-documented, and the way I use it is to place the file somewhere
conv enient and then place a shortcut on the actual desk top. It's generally a good idea that y ou modify the 'Properties' page of the shortcut so that it runs
'Minimized'. If y ou wish (as I ahv e done) is to also assign a customized icon to the shortcut so that it will be easier to find on y our desk top. If y ou wish I
can also upload the icon file that I'v e been using since the release of NX 1.0.

A ny way , let me k now how it work s out. Hav e fun

John R. Baker, P.E.


Product 'Ev angelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cy press, 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.

http://files.engineering.com/getfile.aspx?folder=7b310069-a777-40ac-aca8-d9

NX Online Training
A c c es s over 5 0 days of c las s room training online for only $ 1 9 5 .
www.myigetit.com/siemens

Join | Jobs | Adv ertise | About Us | Contact Us | Site Policies


Copyright © 1998-2010 Tecumseh Group, Inc. All rights reserved.
Unauthorized reproduction or linking forbidden without express written permission.

Potrebbero piacerti anche