<!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>Label</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">Label</div>
      <hr noshade="true">
      <p align="left"><img align="bottom" src="graphics/label.gif"></p>
      <p class="para_topic"><b class="uiTerm">Label</b> creates formatted labels associated with components and/or stocks. This association is two-fold:
      </p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">The label moves when the stock or component moves.</p>
         </li>
         <li>
            <p class="para_item">The representation of attributes in the label changes as the value of the attributes changes. The user-defined format of the label can refer to one or more attributes of the component or stock.</p>
         </li>
      </ol>
      <p class="para_topic">The labels and their formats are defined by means of User_Preferences in the Routing Logical Application View file by specifying the following:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">Name of the label (Stock for pipes).</p>
         </li>
         <li>
            <p class="para_item">Format of the label (mixture of constant text and attribute references).</p>
         </li>
         <li>
            <p class="para_item">Name of the component and / or stock attribute that holds the name of the label to be applied.</p>
         </li>
      </ol>
      <div class="figure">
         <p align="center"><img align="bottom" src="graphics/label_ex.gif"></p>
      </div>
      <div class="title_figure">Label placed on a stock</div>
      <p class="para_topic">An attribute reference in the label format is the name of a component, stock, or part attribute. The reference also contains information about where to search the attribute. You can find the information:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">At the component or stock only.</p>
         </li>
         <li>
            <p class="para_item">At the part only, or</p>
         </li>
         <li>
            <p class="para_item">First at the component or stock and second at the part.</p>
         </li>
      </ol>
      <p class="para_topic">Whenever a component is placed or a run is created, the system tries to find the attribute which denote name of a label. If such an attribute is found, it constructs the label texts from the corresponding format, creates the labels [and the User Defined Objects (UDO) linking a point of the component or a segment of the stock with the label].</p>
      <p class="para_topic">The <b class="uiTerm">Label</b> feature can be accessed under <b class="uiTerm">Insert&rarr;Routing Logical</b>. The application view file for Routing Logical, <code>ugroute_lgl_mm.xml</code>, must have the following user preferences for <b class="uiTerm">Label</b> to work. Values for the user preferences are given as an example.
      </p>
      <table cellpadding="2" cellspacing="4" width="95%" align="center">
         <colgroup span="1">
            <col span="1" width="120*">
            <col span="1" width="95*">
         </colgroup>
         <thead>
            <tr>
               <td align="center" bgcolor="silver" colspan="1" rowspan="1">
                  <p class="para_td">Name</p>
               </td>
               <td align="center" bgcolor="silver" colspan="1" rowspan="1">
                  <p class="para_td">Value(s)</p>
               </td>
            </tr>
         </thead>
         <tbody>
            <tr bgcolor="#f0f0f0">
               <td colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><code>PIPING_LABEL_DEFINITIONS</code></p>
               </td>
               <td colspan="1" rowspan="1" valign="top">
                  <p class="para_td">Armature = [@REFERENCE_ID]-AAA-[#ASS_NAME] (abc) [@RUN_ID]</p>
                  <p class="para_td">Device = [@REFERENCE_ID]-DDD-[#ASS_NAME] (xyz) {@RUN_ID]</p>
                  <p class="para_td">Stock = [@RUN_ID]/&rdquo;[@NPS]'-&rdquo;[@LENGTH]&rdquo;</p>
               </td>
            </tr>
            <tr bgcolor="#f0f0f0">
               <td colspan="1" rowspan="1" valign="top">
                  <p class="para_td"><code>PIPING_LABEL_FORMAT_ATTRIBUTE</code></p>
               </td>
               <td bgcolor="#F4F4F4" colspan="1" rowspan="1" valign="top">
                  <p class="para_td">PLFA</p>
               </td>
            </tr>
         </tbody>
      </table><br></body>
</html>