<!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>Part Name Versions</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">
      <hr noshade="true">
      <div class="title_refTopic" id="xps10_pagetitle">Part Name Versions</div>
      <hr noshade="true">
      <div class="title_refCategory"></div>
      <div class="refCategoryContent">
         <p class="para_refCategory">The following rules are used to describe the part names the system will use when searching for the version of a part for an assembly. The syntax for the rules follows the Regular Expressions used by the UNIX system. Leaving the rules blank means the system does not recognize versions of files and will compare complete part names when searching for parts. Examples follow.
</p><pre class="indent">
EXAMPLE 1:

Full Part File Name Format:                         ([a-z_]+_)([0-9]+(\.[0-9]+)*)
Version Independent Section of the Part File Name:  \1
Part File Name Match:                               \1([0-9]+(\.[0-9]+)*)
Version Section of Part File Name Match:            \1
Version Type:                                       Military
</pre><p class="para_refCategory">
The &quot;Full Part File Name Format&quot; specifies part names of one or more alphabetic characters and underscores &quot;_&quot; followed by an underscore &quot;_&quot;, then a number, then 0 or more sets of a period &quot;.&quot; and a number.
</p><pre class="indent">
Example part names in this format are:

          a_1.prt
          bcd_1.6.prt
          efg_h_ijk_1.3.2.prt

</pre><p class="para_refCategory">
The &quot;Version Independent Section of the Part File Name&quot; indicates that the FIRST section of the &quot;Full Part File Name Format&quot; pattern (i.e., &quot;([a-z_]+_)&quot; ) is the independent section.
</p><pre class="indent">
Example part names without their versions in this format are:

          a_
          bcd_
          efg_h_ijk_

</pre><p class="para_refCategory">
The &quot;Part File Name Match&quot; rule indicates that valid versioned part names consist of the part name followed by a number, then 0 or more sets of a period &quot;.&quot; and a number.

Example part names are the same as those under &quot;Full Part File Name Format&quot;.

The &quot;Version Section of Part File Name Match&quot; indicates that the FIRST section of the &quot;Part File Name Match&quot; pattern (i.e., &quot;([0-9]+(\.[0-9]+)*)&quot; ) is the part version section.
</p><pre class="indent">
Example versions in this format are:

          1
          1.6
          1.3.2


EXAMPLE 2:

Full Part File Name Format:                         ([0-9\-]+)(o|([a-hj-np-z]|([a-hj-np-z][a-hj-np-z])))
Version Independent Section of the Part File Name:  \1
Part File Name Match:                               \1(o|([a-hj-np-z]|([a-hj-np-z][a-hj-np-z])))
Version Section of Part File Name Match:            \2
Version Type:                                       Alphabetic

</pre><p class="para_refCategory">
The &quot;Full Part File Name Format&quot; specifies part names of digits and dashes followed by either a letter o (for &quot;original&quot;), or a letter in the range a-z excluding i and o, or 2 letters in the range a-z excluding i's and o's.
</p><pre class="indent">
Example part names in this format are:

          053316o.prt
          053316h.prt
          053316cl.prt
          1-32e.prt
          68-9-00x.prt
          -32-56-kd.prt

</pre><p class="para_refCategory">
The &quot;Version Independent Section of the Part File Name&quot; indicates that the FIRST section of the &quot;Full Part File Name Format&quot; pattern (i.e., &quot;([0-9\-]+)&quot; ) is the independent section.
</p><pre class="indent">
Example part names without their versions in this format are:

          053316
          1-32
          68-9-00
          -32-56-

</pre><p class="para_refCategory">
The &quot;Part File Name Match&quot; rule indicates that valid versioned part names consist of the part name followed by either a letter o (for &quot;original&quot;), or a letter in the range a-z excluding i and o, or 2 letters in the range a-z excluding i's and o's.

Example part names are the same as those under &quot;Full Part File Name Format&quot;.

The &quot;Version Section of Part File Name Match&quot; rule indicates that the SECOND section of the &quot;Part File Name Match&quot; pattern (i.e., &quot;([a-hj-np-z]|([a-hj-np-z][a-hj-np-z]))&quot;) is the part version section.
</p><pre class="indent">
where:
        \1(o|([a-hj-np-z]|([a-hj-np-z][a-hj-np-z])))
          |^|------------------^-------------------|
           1               section 2
</pre><p class="para_refCategory">
From these rules, the &quot;o&quot; matches as being part of the version, but is not used for the purposes of comparison. Hence, when the version is extracted from a part with &quot;o&quot; as the revision, the system will get the empty string and all versions will match to be greater than this, meaning that &quot;o&quot; is the first version of the part.
</p><pre class="indent">
Example versions in this format are:

          o
          h
          cl
          e
          x
          kd</pre><p class="para_refCategory"></p><pre class="indent">
EXAMPLE 1:

Full Part File Name Format:                         ([a-z_]+_)([0-9]+(\.[0-9]+)*)
Version Independent Section of the Part File Name:  \1
Part File Name Match:                               \1([0-9]+(\.[0-9]+)*)
Version Section of Part File Name Match:            \1
Version Type:                                       Military
</pre><p class="para_refCategory"></p><pre class="indent">
Example part names in this format are:

          a_1.prt
          bcd_1.6.prt
          efg_h_ijk_1.3.2.prt

</pre><p class="para_refCategory"></p><pre class="indent">
Example part names without their versions in this format are:

          a_
          bcd_
          efg_h_ijk_

</pre><p class="para_refCategory"></p><pre class="indent">
Example versions in this format are:

          1
          1.6
          1.3.2


EXAMPLE 2:

Full Part File Name Format:                         ([0-9\-]+)(o|([a-hj-np-z]|([a-hj-np-z][a-hj-np-z])))
Version Independent Section of the Part File Name:  \1
Part File Name Match:                               \1(o|([a-hj-np-z]|([a-hj-np-z][a-hj-np-z])))
Version Section of Part File Name Match:            \2
Version Type:                                       Alphabetic

</pre><p class="para_refCategory"></p><pre class="indent">
Example part names in this format are:

          053316o.prt
          053316h.prt
          053316cl.prt
          1-32e.prt
          68-9-00x.prt
          -32-56-kd.prt

</pre><p class="para_refCategory"></p><pre class="indent">
Example part names without their versions in this format are:

          053316
          1-32
          68-9-00
          -32-56-

</pre><p class="para_refCategory"></p><pre class="indent">
where:
        \1(o|([a-hj-np-z]|([a-hj-np-z][a-hj-np-z])))
          |^|------------------^-------------------|
           1               section 2
</pre><p class="para_refCategory"></p><pre class="indent">
Example versions in this format are:

          o
          h
          cl
          e
          x
          kd</pre><p class="para_refCategory"></p>
      </div>
      <div class="title_refCategory"></div>
      <div class="refCategoryContent">
         <p class="para_refCategory">The following options are used to describe the part names the system will use when searching for the correct version of a part for an assembly. The syntax for the rules follows the Regular Expressions used by the UNIX system. Leaving the options blank means the system will not recognize versions of files and will compare complete part names when searching for parts.</p>
      </div>
      <div class="title_refCategory">Full Part File Name Format</div>
      <div class="refCategoryContent">
         <p class="para_refCategory">This field specifies the general format for the full name of versioned part files.</p>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Version Modified:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">NX3.0.0</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Scope:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Session</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Type:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">String</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Default Name:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Assemblies_PartNameFormat</p>
               </td>
            </tr>
         </table>
      </div>
      <div class="title_refCategory">Version Independent Section of the Part File Name</div>
      <div class="refCategoryContent">
         <p class="para_refCategory">This field specifies which section of the Full Part File Name Format that is the version independent section of the name. It consists of a back-slash (\) followed by the number of the section.</p>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Version Modified:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">NX3.0.0</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Scope:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Session</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Type:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">String</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Default Name:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Assemblies_PartNameSubstitution</p>
               </td>
            </tr>
         </table>
      </div>
      <div class="title_refCategory">Part File Name Match</div>
      <div class="refCategoryContent">
         <p class="para_refCategory">This field is used to match all versions of a part file. It consists of a back-slash (\) followed by the Version Independent Section of the Part File Name along with the section of the Full Part File Name format that specifies the pattern for the part file version.</p>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Version Modified:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">NX3.0.0</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Scope:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Session</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Type:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">String</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Default Name:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Assemblies_PartNameMatch</p>
               </td>
            </tr>
         </table>
      </div>
      <div class="title_refCategory">Version Section of Part File Name Match</div>
      <div class="refCategoryContent">
         <p class="para_refCategory">This field specifies which section of the Part File Name Match that is the version section of the name. It consists of a back-slash (\) followed by the number of the section.</p>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Version Modified:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">NX3.0.0</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Scope:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Session</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Type:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">String</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Default Name:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Assemblies_VersionSubstitution</p>
               </td>
            </tr>
         </table>
      </div>
      <div class="title_refCategory">Version Type</div>
      <div class="refCategoryContent">
         <p class="para_refCategory">This option specifies the sorting order that will be used to determine the latest version of a part file.</p>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Version Modified:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">NX3.0.0</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Scope:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Session</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Type:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Integer</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Default Name:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">Assemblies_VersionType</p>
               </td>
            </tr>
         </table>
         <table cellspacing="10">
            <tr>
               <td valign="top">
                  <p class="defObject">Valid Options:</p>
               </td>
               <td valign="top">
                  <p class="para_defMeaning">[Numeric (0), Reverse Numeric (1), Alphabetic (2), Reverse Alphabetic (3), Military (4), Alphanumeric (5)]</p>
               </td>
            </tr>
         </table>
         <p class="para_refCategory">A valid option must be specified even if file versioning is not being used.
</p><pre class="indent">
Military:               1 &lt; 1.2 &lt; 3.2.1
Numeric:                2 &lt; 5 &lt; 11
Reverse Numeric:        15 &lt; 7 &lt; 2
Alphabetic:             a &lt; m &lt; z &lt; av &lt; ff
Reverse Alphabetic:     z &lt; a &lt; vv &lt; aa
Alphanumeric:           a2 &lt; a5 &lt; b2 &lt; b23 &lt; aa12 &lt; bc22</pre><p class="para_refCategory"></p>
      </div>
   </body>
</html>