<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Create or modify File New dialog box tabs</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle">Create or modify File New dialog box tabs</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/fil_new_ov.html');return(false);">Overview</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/fil_new_ht.html');return(false);">How To</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/fil_new_list_op.html');return(false);">Options</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/fil_new_list_rt.html');return(false);">Related Topics</a></p>
            </td>
         </tr>
      </table><br><p class="para_topic">The <b class="uiTerm">File New</b> dialog box has tabs to logically organize the templates. Each tab (for example, Model) is defined by a .pax file. A .pax file defines which templates appear on that tab and other details, such as the tab name and template names that appear in the <b class="uiTerm">File New</b> dialog box, the application started by a selected template, etc.
      </p>
      <p class="para_topic">The following is an example of the XML in the .pax file that defines a tab and the details of the XML elements used.</p><pre class="indent">&lt;Palette xmlns=&quot;http://www.ugsolutions.com/Schemas/2001/UGPalettes&quot; schemaVersion=&quot;1.0&quot;&gt;

  &lt;Presentation name=&quot;Master Model Templates (Inch)&quot; bitmap=&quot;sheet_and_block.bmp&quot;
  FileNewTab=&quot;Model&quot; application=&quot;All&quot; UsesMasterModel=&quot;No&quot; Environment=&rdquo;Managed&rdquo;/&gt;

      &lt;PaletteEntry&gt;
         ..........
      &lt;/PaletteEntry&gt;

&lt;/Palette&gt;
</pre><table cellpadding="2" cellspacing="4" width="95%" align="center">
         <colgroup span="1">
            <col span="1" width="54*">
            <col span="1" width="163*">
         </colgroup>
         <thead>
            <tr>
               <td align="center" bgcolor="silver" colspan="1" rowspan="1">
                  <p class="para_td">XML Element</p>
               </td>
               <td align="center" bgcolor="silver" colspan="1" rowspan="1">
                  <p class="para_td">Attributes</p>
               </td>
            </tr>
         </thead>
         <tbody>
            <tr bgcolor="#f0f0f0">
               <td colspan="1" rowspan="6" valign="top">
                  <p class="para_td"><b class="literalText">&lt;Presentation&gt;</b></p>
                  <table border="0">
                     <tr>
                        <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                        <td valign="bottom" align="left" width="100%">
                           <div class="para_note">
                              <p class="para_note_body">This &lt;Presentation&gt; element is directly under the &lt;Palette&gt; element, not the &lt;PaletteEntry&gt; element.</p>
                           </div>
                        </td>
                     </tr>
                  </table>
               </td>
               <td colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><b class="literalText">name</b> &ndash; This is not used in the <b class="uiTerm">File New</b> dialog box. The PAX file syntax is used outside of <b class="uiTerm">File New</b> also.
                  </p>
               </td>
            </tr>
            <tr bgcolor="#f0f0f0">
               <td bgcolor="#F4F4F4" colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><b class="literalText">bitmap</b> &ndash; Not used in <b class="uiTerm">File New</b>.
                  </p>
               </td>
            </tr>
            <tr>
               <td bgcolor="#F4F4F4" colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><b class="literalText">FileNewTab</b> &ndash; This is the name of the tab in the <b class="uiTerm">File New</b> dialog box where the templates are displayed.
                  </p>
                  <p class="para_td">The absence of this attribute in a PAX file processed for <b class="uiTerm">File New</b> implies that the templates are read into NX, but are not processed for display in <b class="uiTerm">File New</b>. They are, however, available for other applications, such as the <b class="uiTerm">Insert Sheet</b> dialog box.
                  </p>
               </td>
            </tr>
            <tr>
               <td bgcolor="#F4F4F4" colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><b class="literalText">application</b> &ndash; Not used in <b class="uiTerm">File New</b>.
                  </p>
               </td>
            </tr>
            <tr>
               <td bgcolor="#F4F4F4" colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><b class="literalText">UsesMasterModel</b> &ndash; Set to TRUE if all templates in this tab are master model templates.
                  </p>
               </td>
            </tr>
            <tr>
               <td bgcolor="#F4F4F4" colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><b class="literalText">Environment </b>&ndash; Set to managed if the templates in this tab are to be used in the TCINX environment. This is not present in the native NX version for template files.
                  </p>
               </td>
            </tr>
         </tbody>
      </table><br></body>
</html>