Examples of PAX File Entries for Teamcenter Managed NX Templates
FIRST WAY - standalone 2D drawing not relate to any existing 3D model:
<?xml version="1.0" encoding="UTF-8"?>
<Palette xmlns="http://www.ugsolutions.com/Schemas/2001/UGPalettes" schemaVersion="1.0">
<Presentation FileNewTab="Drawing" UsesMasterModel="No" Environment="Managed" name="Drawing Templates (Inch)"/>
<PaletteEntry id="d1">
<References/>
<Presentation name="D Inch" description="Creates 8.5in x 11in size drawing" tooltip="Custom template.">
<PreviewImage type="UGPart" location="@DB/D_Inch/A"/>
</Presentation>
<ObjectData class="DrawingTemplate">
<Filename>@DB/D_Inch/A</Filename>
<Units>English</Units>
<RelationType>master</RelationType>
<ItemType>Item</ItemType>
</ObjectData>
</PaletteEntry>
</Palette>
SECOND WAY - Master Model drawing (specification) that is related to a 3D model:
<?xml version="1.0" encoding="UTF-8"?>
<Palette xmlns="http://www.ugsolutions.com/Schemas/2001/UGPalettes" schemaVersion="1.0">
<Presentation FileNewTab="Drawing" UsesMasterModel="Yes" Environment="Managed" name="Drawing Templates (Inch)"/>
<PaletteEntry id="d1">
<References/>
<Presentation name="D Inch" description="Creates 8.5in x 11in size drawing" tooltip="Custom template.">
<PreviewImage type="UGPart" location="@DB/D_Inch/A"/>
</Presentation>
<ObjectData class="DrawingTemplate">
<Filename>@DB/D_Inch/A</Filename>
<Units>English</Units>
<UsesMasterModel>Yes</UsesMasterModel>
<RelationType>specification</RelationType>
<ItemType>Item</ItemType>
</ObjectData>
</PaletteEntry>
</Palette>