Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Create company's drawing template and populate the title block in NX8.5 1

Status
Not open for further replies.

coolniks37

Mechanical
Feb 7, 2013
85
Hi

I am new to NX 8.5. In my office PC, i have nx 8.5 installed.
Presently, the default drg template is Siemens. I need to change it into my company's logo and all.

Pls see the attached URL. As instructed I have now modelled my drg as .prt file.
But due to restrictions, i am not able to copy prt file in template folder & update the pax file.

So my question is
1. how do I update the new file location in .pax file?
2. My title block is made using lines. How do i populate the same? Like first issue, name of persons etc?
3. How do i include angle of projection symbol in my title block

Pls help
 
 http://allyplm.com/knowledgebase/2013/1/30/how-to-create-a-drawing-template-and-add-to-nx-75-template-list
Replies continue below

Recommended for you

Look on Gtac forums for the Rob Cohons Customizing NX.

Are you using teamcenter or natave?

Also a do a search on this topic in this forum. There is gobs of information about this topic.



 
Starting with NX 8.0 there are now tools in NX Drafting to create your own drawing borders and title blocks and to populate them with either attributes or to set them up so that NX will prompt the user for information to populate the fields when the drawing is created. As for setting up your own .pax files, you need to first create a 'user' folder somewhere. You can give it any name you wish but in this folder there needs to a folder named 'startup' and in this folder you place your drawing template files. Also you will need to create your .pax file and place it here as well. Now if you wish to REPLACE the the current templates that you see when you start NX and you are creating a New File, you will need to use the same exact name of the .pax file as is the NX provided file and if you use the same name your fille will replace the NX .pax when NX starts even though you can edit or delete the system file, yours will replace it. For your drawing templates this file is named 'UGS_Drawing_templates.pax'. You've already gotten the information on how to create/edit your own .pax file so follow that.

Now once you've got your .pax file created and in the 'startup' folder along with your drawing templates you need to set an environment variable in your Windows user profile that reads

UGII_USER_DIR=<full path to the 'user folder' previsouly created>

Don't include the 'startup' folder just the name of the 'user' folder you created and finish the entry with a '\'.

OK, to create your drawing boarder and title block you can use the built in tools. Open a new part and go into Drafting and simply display any sort of Drawing view. Now there should be a toolbar titled 'Drawing Format' and it will have four icons on it. Select the first one titled 'Borers and Zones' and when the dialog opens press the 'F1' key and the NX Help page for this function will open and you'll find the instructions on how to define the Drawing Border artwork. When you're ready to create your title block and add it to your Drawing Boarder select the next icon titled 'Define Titleblock' and when the dialog opens again hit the 'F1' key and you'll get the instructions on how to create your title block.

Now as for the 'Drawing Projection' symbol, there is a set of so-called 'system attributes' which can be added to your Drawing border using 'automatic text' including things like the name of the current drawing, the scale of the Drawing, the current sheet number, the total number of sheets, as well as the 'projection symbol'. You can find these by going into the NX Help files and using the string "System attributes for drawing templates" as you search text and when you get the list of search results select the one with exact name and you will find all of the examples of the system attribute 'automatic text'.

Anyway, that should get you going.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Hi John Baker

Thank you for your reply.
I tried the steps you have told, but I was unsuccessful.
Here are the steps I followed: Pls correct me if I am wrong

1) In D:, i created a folder named "NX new template" and inside same another one "STARTUP". I copied all the templates in the default template folder of NX (.prt files & .Pax files) into this and updated the .Pax file (drawing)

2) Now created a new user environment variable
Variable name: UGII_USER_DIR
Variable value: <D:\NX new template\>

3) Restarted NX 8.5, but it didnt help


Regarding attributes, I got into the help menu and reading it ..

Thanks a lot..
Pls reply
 
Try using lowercase 'startup'. And avoid spaces in the folder name (use underscores instead). And don't use the < > around the variable value. I was only doing that to indicate the it was to be replaced by the actual path name.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Hi John

Its not working for me.
Is that environment variable correct?
Here is my palette entry in .pax file? Is there any issue with this?
I have not set any attributes, to this .prt file? Is that the problem?

<PaletteEntry id="d23">
<References/>
<Presentation name="My-A0" description="Creates My-A0 size drawing" tooltip="This NX template example creates an My-A0 drawing that does not reference any existing models.">
<PreviewImage type="UGPart" location="My-A0.jpg"/>
</Presentation>
<ObjectData class="DrawingTemplate">
<TemplateFileType>none</TemplateFileType>
<Filename>My-A0.prt</Filename>
<Units>English</Units>
</ObjectData>
</PaletteEntry>
 
Yes, it looks OK. Make sure that the "d23" is unique. And the Template part and image files are in the 'startup' folder along with the .pax file.

Did you correct your environment variable, removing the '< >'?

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Hi John
Still its not working. d23 in palette entry is unique.
Also, i removed <> in environment variable.
Still not working.

Could you also pls help me with bill of materials table (BOM).
I have a list of pipe sizes, with different material codes and specification.
How do i make a database of the same, and assign the same to parts.
 
You may have to take this issue to the GTAC people. Have them look at your syslog as there may be a problem with the system not finding the correct files.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Ok so I created the title block, defined the title block, marked as template, the new pax file is fine and where I want it. Now, how do I make changes to the title block?!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor