Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NX3: setting ugii_patdir, or whatever...

Status
Not open for further replies.

Shadowspawn

Aerospace
Sep 23, 2004
259
Howdy, again...
On a laundry list of items for me to do, I need to set up a 'standard library' which includes drawing format pattern data. From what I can tell, I need to set the ugii_patdir so NX3 knows where to retrieve the pattern data from. ...so how do I do this, or do I even need to do this (as in is there a better approach to take?)?
As always, thanks in advance...

Regards,
SS
CAD should pay for itself, shouldn't it?
 
Replies continue below

Recommended for you

In the ugii_env file, look for "UGII_PATDIR=" and set it to point to the location of your patterns. Be sure to remove the # in front of the line to "activate" it.
 
EWH,
I solved my little problem, albeit not the way you suggested (I didn't think NX3 used the .def file as previous versions have...). We only use windows, so I added a system variable (<my comp> <properties> <advanced> <environment variables> <UGII_PATDIR = whatever directory you choose>) defining the pattern directory. Once others define this variable, it's good to go. Thanks for the suggestion...

Regards,
SS
CAD should pay for itself, shouldn't it?
 
Cool, I didn't know that there was another way to do it... but then again, this IS UG we're dealing with;)
 
SS,

Keep in mind, NX still uses the ugii_env.dat file that Eric pointed out. I believe you were confusing that with Customer Defaults, which have been integrated into NX sessions now.

I've asked about getting rid of all text based files and I believe that something is in the works to address the .dat files that are still being used. Hoping UGS makes it more like the Customer Defaults so we can get away from this late 80's/early 90's text-based defaults. Would be nice if every single setting in NX could be found under a single dialog instead of having one for Style, one for Customer Defaults, etc., etc.

I know, wish in one hand and crap in the other and see which one fills up first... ;o)

Gotta love Bad Santa.

Tim Flater
Senior Designer
Enkei America, Inc.
 
How things manage to chnage to come full circle.
The more things change, the more things stay the same.

In pre-V10 versions of UG, the customer defaults were set from within UG and we submitted enhancemnt requests to have them moved to editable text files. Now with NX3+, it seems that want the customer defaults back under the program's control.


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

Ben Loosli
Sr IS Technologist
L-3 Communications
 
The dreadful pre-v10 days

I get this sick feeling just thinking about those days.

Justin Ackley
Design Engineer
jackley@gmail.com
 
To set a NX variable you have a few choices. One way is in the ugii_env.dat file, or a system variable, or in the script that calls ugii.bat can have this variable set. Then there is the customer defaults with has three layers Site, Group, User. Not everything is in the customer defaults yet though. But if it was you can have a Site customer defaults set, and every user that starts NX will have a variable UGII_SITE_DIR= point to a directory on a server that is locked down to the site administrator. Group customer defaults has the variable of: UGII_GROUP_DIR=. Both the Site and Group variables point to a directory. User defaults is set with this variable: UGII_LOCAL_USER_DEFAULTS= and points to a file nx3_user.dpv. By default this user defaults is set to a location set by the O/S. Windows is along the path of Documents and Settings/User/...



-Dave
PLM Exchange
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor