×
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

Add an image to ug palatte file (pax)

Add an image to ug palatte file (pax)

Add an image to ug palatte file (pax)

(OP)
Hi,

Could any one help me knowing adding images in pax file is feasible?
Meaning - When i click on File->New->Drawing tab it should show me the image i have added in pax file.
Note- It is not the preview image i am talking about.

Regards,

RE: Add an image to ug palatte file (pax)

Looking at the .pax files that ship with NX is a great place to start. The entry below comes from the "ugs_drawing_templates_sample.pax" file (NX 9). Note the highlighted line; it will display the "drawing_template.jpg" file in the new drawing dialog box. NX will look for this jpg file in the same folder that the .pax file was loaded from; the .jpg file can be stored elsewhere as long as you provide the full path. This preview image only shows up on the file new dialog, it is separate from the NX part file preview image.

CODE

<PaletteEntry id="d1">
    <References/>
    <Presentation name="A - Size" description="Creates 8.5in x 11in size drawing" tooltip="This NX template example creates an A size drawing that references an existing model.">
        <PreviewImage type="UGPart" location="drawing_template.jpg"/>
    </Presentation>
    <ObjectData class="DrawingTemplate">
        <TemplateFileType>none</TemplateFileType>
        <Filename>Drawing-A-Size-template.prt</Filename>
        <Units>English</Units>
        <UsesMasterModel>Yes</UsesMasterModel>
    </ObjectData>
  </PaletteEntry> 

www.nxjournaling.com

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