<!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>Template File Name Mapping</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_topic2" id="xps10_pagetitle">Template File Name Mapping</div>
      <hr noshade="true">
      <p class="para_topic">Template names are the original names of files contained in the pre_part directory, mold base directory, or standard parts library.</p>
      <p class="para_topic">During project initialization and component installation template files are cloned from the Mold Wizard directory to the Mold Wizard project directory. Rules defined in <b class="uiTerm">Mold Wizard Customer Defaults</b> determine the naming of each component using a combination of characters and variables. The portion of the name defined by the variable TEMPLATE_NAME is automatically renamed by rules defined in the map_template_name.txt file. 
      </p>
      <p class="para_topic">The template file name remapping performs the following:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">When the template file is cloned, the component naming rules are applied.</p>
         </li>
         <li>
            <p class="para_item">If the variable &lt;TEMPLATE_NAME&gt; is included in the component-naming rule, the template file naming rules contained in the file map_template_name.txt are applied.</p>
         </li>
         <li>
            <p class="para_item">The map template name function searches the rows of text and matches them to the names of part files cloned from the Mold Wizard directory.</p>
         </li>
         <li>
            <p class="para_item">If any file name listed in the rules is followed by a space and a second set of text, the TEMPLATE_NAME variable section of the file being cloned is replaced with the second set of text defined in the rule. </p>
         </li>
      </ol>
      <div class="title_division">Template File Name Example</div>
      <p class="para_division">For example, to define a rule that renames the TEMPLATE_NAME variable top to the variable mytop, the row containing the text top is changed as follows in the map_template_name.txt file:</p>
      <p class="para_division">top &nbsp;&nbsp;mytop</p>
      <p class="para_division">When this rule is applied, the TEMPLATE_NAME variable top is replaced by mytop.</p>
   </body>
</html>