<!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>Mold Base Database ATTRIBUTES</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">Mold Base Database ATTRIBUTES</div>
      <hr noshade="true">
      <div class="title_division">ATTRIBUTES</div>
      <p class="para_division">Mold Wizard components contain part attributes that the Mold Wizard uses for several purposes:</p>
      <ul>
         <li>
            <p class="para_item">To identify components for modeling operations and expression linking</p>
         </li>
      </ul>
      <p class="para_division">Part attributes are used to identify components because part names vary while the component purpose is always the same. For example, the top level component of a mold base assembly may have any name that meets NX naming conventions.</p>
      <p class="para_division">For example, the name is base.prt. The top level mold base component (base.prt) must contain a part attribute UM_Mold Base. Other components in Mold Wizard are also identified by part attributes. The attribute names may be user-defined.</p>
      <ul>
         <li>
            <p class="para_item">To write BOM data</p>
         </li>
      </ul>
      <p class="para_division">The ATTRIBUTES section writes attributes to the mold base (or other components when desired) to provide information for the BOM. The Bill of Materials function is based on the general NX BOM function. Mold Wizard places the BOM attributes in each component, based on formatting in the ATTRIBUTES section of the standard parts spreadsheet.</p>
      <div class="title_division">BOM Formatting</div>
      <p class="para_division">There are two formats for the ATTRIBUTE section.</p>
      <p class="para_division">The first format is for writing attributes to the top mold base component:</p>
      <p class="para_division">[BOM FIELD NAME]=[VALUE]</p>
      <p class="para_division">The second format is used to write attributes to components other than the top mold base file.</p>
      <p class="para_division">[COMPONENT IDENTIFYING ATTRIBUTE]::[BOM FIELD NAME]=[VALUE]</p>
      <p class="para_division">In the example below, the BOM function searches for a component containing the part attribute BODY. The parameter value for wide is followed by a space, then the X character and another space, and so on. The result is an attribute in the part containing the attribute BODY as follows:</p>
      <p class="para_division">BODY::CATALOG=&lt;wide&gt; X &lt;body_thick&gt; X &lt;body_length&gt;</p>
      <p class="para_division">Parameter values may also be a variable in attribute text, as in the following example:</p>
      <p class="para_division">CHARACTER= 5 X 4 X 5 (assuming these values for the variables)</p>
      <div class="title_division">Storing Expression Values of Standard Parts</div>
      <p class="para_division">When standard parts that have option values are added to a Mold Wizard project, the dialog options are saved as attributes in the standard part. When the standard part is edited, the dialog returns to the settings used when it was installed.</p>
      <div class="title_division">Identifying Components for Standard Parts Editing</div>
      <p class="para_division">In some cases, it's desirable to edit some components of a mold base with the Standard Parts Management dialog. To accomplish this, some attributes must be added to the component that identifies it as a standard part. These attributes can be added by the mold base spreadsheet with code under the ATTRIBUTES section. The component to be configured as a standard part must contain an identifying attribute for the function to locate it and add attributes to identify it as a standard part.</p>
      <p class="para_division">The example below adds attributes to a component containing the attribute A_PLATE to make it selectable and editable from the standard parts dialog for the HASCO_E system.</p>
      <p class="para_division">A_PLATE::UM_STANDARD_PART=1</p>
      <p class="para_division">A_PLATE::UM_STD_DIM=HASCO_A_E*All Standard*A_PLATE*</p>
      <p class="para_division">A_PLATE::UM_STD_OPT_DIM=&lt;index&gt;*plate_h*matl_type*</p>
      <p class="para_division">A_PLATE::UM_STD_OPT_LAB=index*27*1730* * * * * * *</p>
      <p class="para_division">The first line A_PLATE::UM_STANDARD_PART=1 adds the attribute UM_STANDARD_PART=1 to the component containing the part attribute A_PLATE. This attribute identifies it as a standard part.</p>
      <p class="para_division">The second line adds attributes to identify the sheet name of the standard parts registry file that the plate is registered on, and the entry in the name column that identifies the path for the necessary data to manage the standard part.</p>
      <p class="para_division">The third line specifies that the parameters are being managed by the Standard Parts Management dialog.</p>
      <p class="para_division">The fourth line specifies the initial values for the parameters in the third row.</p>
   </body>
</html>