×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Adding custom templates to New dialog

Adding custom templates to New dialog

Adding custom templates to New dialog

(OP)
I have ready several threads on this already but I am having issues getting it to work.

I am trying to get custom templates to be an option when creating a new part.  I am using the batch file to open the custom version of NX and I have modified the .pax file so the new entries read as follows:

<PaletteEntry id="d1">
    <References/>
    <Presentation name="A0 Wetzel Template" description="A0_No_Views, 1 Sheet">
        <PreviewImage type="UGPart" location="drawing_views_template.jpg"/>
    </Presentation>
    <ObjectData class="drawingTemplate">
        <Filename>A0_Wetzel_Template.prt</Filename>
    <Units>Metric</Units>
        <UsesMasterModel>Yes</UsesMasterModel>
    </ObjectData>
  </PaletteEntry>

However the template is not an option when creating the new file.  I do have the template in the UG Customization/templates folder, and also put it in my on-board template folder just to cover the bases.

I think there is another file I need to change in order for the template to be referenced but can't find it.  

Any help would be greatly appreciated.

RE: Adding custom templates to New dialog

(OP)
I have been working on this for days, post here and withing 15 minutes find the problem.

<ObjectData class="drawingTemplate">

The "D" in the above line must be capitalized.

*sigh*

 

RE: Adding custom templates to New dialog

Apparently Eng-Tips is not only useful, it's inspirational as well winky smile

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources