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!

Creating a user specific templates 1

Status
Not open for further replies.

BOPdesigner

Mechanical
Nov 15, 2005
434
We run our NX 6 from an image on a network drive (read only). As a user, I want to create additional drawing templates specific to my needs and store them on my local workstation. I can create the templates and PAX file, but how to I tell NX to point to them when I can't change the globally used read only ugii_env.dat file?
 
Replies continue below

Recommended for you

Theoretically you could. I create patterns for drawing formats to use inside my drawing templates. The easiest way might to be to define a separate palette file for each user. The question that remains is what you hope to gain by this, because the downside is that you have to maintain multiple sets of templates individually, so that if anything in them pertains to site standards you're making those a lost harder to homogenise.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum
 
hi,

you must add the following variable

UGII_TEMPLATE_DIR='locationn of your template file'

Regards

Didier
 
I created UGII_TEMPLATE_DIR in my Enviornment Variables but it does not overwrite or add to the existing entry for this value that is hard coded in ugii_env.dat that I can't change.
 
Do you have a 'user_dir' folder set up? If not, create a folder which contains another folder named 'startup'. Inside this folder place your .pax file and your templates.

Now set the variable...

UGII_USER_DIR=

...to the path to that first folder (the one that contains the 'startup' folder).

When NX starts these templates should now be available from the File New dialog, but only on your system. Now if you give your .pax file the same exact name as the system .pax file (in the case of Modeling templates it's 'ugs_model_templates.pax') yours will REPLACE the system templates altogether. However, if you give is different name, it will be added as an additional 'tab' to the File New dialog. You can do this with each of the class of templates such Drawing, Simulation, etc. For demo purposes, I've added my own Model and Drawing tabs which allow me show both that this can be customized and what the system templates look like if that was an issue. BTW, if you're going to add additional 'tabs', be sure that in the .pax file you give the entry 'FileNewTab=' a unique names since this will confuse things if two tabs have the same name.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Excellent, thank you John. I got it working and that was going to be my follow up question (replace templates vs add to)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor