Question on Modifying "New File" Menu
Question on Modifying "New File" Menu
(OP)
I want to have my drawing own custom drawing template show up under the drawing tab of the new file menu. Can anyone tell me how to do this?
Thanks
Thanks





RE: Question on Modifying "New File" Menu
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, 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.
RE: Question on Modifying "New File" Menu
Thanks for the reply, how do I go about adding my own tabs in the new file menu?
RE: Question on Modifying "New File" Menu
UGII_USER_DIR=<path to a user defined folder>
...in your profile. In that folder, create another folder titled 'startup'. In this folder place your own template files and a .pax file which defines how these files are to used. Now to help you along, I've attached a zip file containing my model templates files and the .pax file that I'm using.
The name of the .pax file is critical. You will see that the name I used is 'ugs_amodel_templates.pax'. Now the order that tabs are shown in the File New dialog is hard coded: 1st - Modeling, 2nd - Drafting, 3rd - Simulation, 4th - Manufacturing. Now I wanted to ADD an additional tab and NOT replace the existing Model tab and I also wanted my tab to appear first, ahead of the default Model tab. So the name I selected was identical to the .pax file used by the system except that I added the letter 'a' to the word model which forced my file to appear alphabetically ahead of the the default. Now if my intentions were to REPLACE the existing Model tab, all I would have to do is remove the 'a' and then since the file names are identical, my file replaces the system file.
As for the .pax file itself, open the file with your favorite text editor and look at the contents. It may take a bit but if you study it awhile I think you'll figure it out. Most of the items need to remain as they are with you only needing to edit the part and image file names. Also keep in mind that the lines...
<PaletteEntry id="d1">
...must contain a unique name inside the quotes for each entry in the file. In the example .pax file I've included there are 4 part files, 2 model files (one English and one Metric units) and 2 assembly files (one English and one Metric units) so you will find 4 unique 'ID=' entries.
Now you also do this for Drafting templates in a similar manner, and if you would like to look at my examples, I'll gladly post them as well if you would like me to.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, 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.
RE: Question on Modifying "New File" Menu
Thanks for the help, your explanation is very good. I'll give this a try when I get a few free minutes.