<!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 assemblies overview</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_topic3" id="xps10_pagetitle">Template assemblies overview</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Template Assemblies Overview</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingtools/template_xls.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('routingtools/template_usage.html');return(false);">Options</a></p>
            </td>
         </tr>
      </table><br><p class="para_topic">Certain sets of components are often added to an assembly as a group. One example is a valve that always has two flanges attached. To save time and to promote consistent design practice, you can use a <b class="uiTerm">Template Assembly</b> to predefine a group of routing components to be placed at once.
      </p>
      <p class="para_topic">The placement of a <b class="uiTerm">Template Assembly</b> is different than placing a Fabrication. When a fabrication is placed the work part assembly structure shows a single component, the fabrications, with subcomponents. Placing a <b class="uiTerm">Template Assembly</b> results in the assembly structure showing each individual component, so only a single level is added.
      </p>
      <p class="para_topic">To achieve the placement of groups of components, a template <b class="uiTerm">Part Family Assembly</b> part must be created. A spreadsheet in the part determines which components to place when a particular member is instantiated.
      </p>
      <p class="para_topic">Once the template part is defined, the members of that template part can be used just as any other part family member part in Routing. &nbsp;A PTB file can be specified to define search criteria to use for each member, or you can manually place the member using <b class="uiTerm">File Selection</b>.
      </p>
      <p class="para_topic">After placement of a <b class="uiTerm">Part Family Assembly</b> the individual components of the member are copied up into the work part in the correct orientation. The attributes for each component are found in the current part library and applied to the copied component in the work part. If there are multiple matches for the copied part in the part library, you are prompted for the correct set of characteristics to apply to the part.
      </p>
      <div class="title_division">Example</div>
      <div class="title_division">Template assembly</div>
      <p class="para_division">The following image shows a simple example for placing groups of parts.</p>
      <div class="figure">
         <p align="center"><img align="bottom" src="graphics/exam1.gif"></p>
      </div>
      <div class="title_figure">Single Flange&rarr;Value&rarr;Flange Combo</div>
      <p class="para_division">The part contains only components; there are no other objects in the part. The template part specifies the orientations for the flanges relative to the valve. This orientation is static across all members of the template. If the flange components or valve components are too large for a specific configuration, then the ports may not connect when you place the member because the orientation of the flanges and the valve does not adjust according to the size of those parts. To avoid this problem, mating conditions can be created to ensure that the instantiated member's components maintain the correct relative orientations. In the example, each flange should be mated to the valve.</p>
      <div class="title_division">Part family spreadsheet</div>
      <p class="para_division">The <b class="uiTerm">Part Family Spreadsheet</b> for the example assembly above could look like the diagram below:
      </p>
      <p align="center"><img align="bottom" src="graphics/xls.gif"></p>
      <p class="para_division">For this simple example the Column EDS&ndash;23154 corresponds to the green valve in the assembly, and 1006&ndash;113&ndash;06 corresponds to the flanges. The value entered in the column for a particular member will replace all instances of that part.</p>
      <p class="para_division">The spreadsheet can be as simple or as complicated as desired. The spreadsheet allows for the use of formulas for determining column content so it is possible to build up rules for determining which parts get used for each member. A blank value in the column indicates that the component will not be in that member part.</p>
   </body>
</html>