<!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>Create Knowledge Enabled Parts</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">Create Knowledge Enabled Parts</div>
      <hr noshade="true">
      <p class="para_topic">You can create your own Knowledge Enabled parts from the <b class="uiTerm">Reuse Library</b> by creating a KRX file. This file defines the relationship between the component and non-geometry files such as external spreadsheets, image files and other information for design automation. The KRX file also lets you define how the software displays the part the <b class="uiTerm">Add Reusable Component</b> dialog box.
      </p><a name="sf_ct_rl_create_krx_howto"></a><div class="title_list">To create a KRX file:</div>
      <ol type="1" start="1">
         <li>
            <p class="para_item">In the <b class="uiTerm">Member Select </b>area of the <b class="uiTerm">Reuse Library</b>, right-click a part.
            </p>
         </li>
         <li>
            <p class="para_item">Select <b class="uiTerm">Create KRX file</b> <img align="bottom" src="graphics/ico_context_rl_new_krx.gif" border="0">.
            </p>
            <table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body">If the shortcut menu lists <b class="uiTerm">Edit KRX file</b> <img align="bottom" src="graphics/ico_context_rl_edit_krx.gif" border="0">, the part is already knowledge enabled. Choosing <b class="uiTerm">Edit KRX file</b> opens the same dialog box.
                        </p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
         <li>
            <p class="para_item">In the <b class="uiTerm">Create/Edit KRX file</b> dialog box, specify the Output File. 
            </p>
         </li>
         <li>
            <p class="para_item">In the <b class="uiTerm">Files</b> group, specify the Spreadsheet and Legend Image files.
            </p>
            <table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body">If you use the spreadsheet to store the data of the template, it must be formatted as shown below. </p>
                        <table bgcolor="white" border="1" cellpadding="1" cellspacing="1" width="317" align="center">
                           <colgroup span="1">
                              <col align="center" span="1" width="30">
                              <col span="1" width="90">
                              <col span="1" width="50">
                              <col span="1" width="50">
                              <col span="1" width="70">
                           </colgroup>
                           <tbody>
                              <tr>
                                 <td abbr="" bgcolor="ffffcc" colspan="1" rowspan="1">
                                    <p class="para_note_body">2</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body"><b class="literalText">PARAMETERS</b></p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body"></p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body"></p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body"></p>
                                 </td>
                              </tr>
                              <tr>
                                 <td bgcolor="ffffcc" colspan="1" rowspan="1">
                                    <p class="para_note_body">3</p>
                                 </td>
                                 <td bgcolor="ff9966" colspan="1" rowspan="1">
                                    <p class="para_note_body"><b class="literalText">Length</b></p>
                                 </td>
                                 <td bgcolor="ff9966" colspan="1" rowspan="1">
                                    <p class="para_note_body"><b class="literalText">Width</b></p>
                                 </td>
                                 <td bgcolor="ff9966" colspan="1" rowspan="1">
                                    <p class="para_note_body"><b class="literalText">Height</b></p>
                                 </td>
                                 <td bgcolor="ff9966" colspan="1" rowspan="1">
                                    <p class="para_note_body"><b class="literalText">Hole1_Dia</b></p>
                                 </td>
                              </tr>
                              <tr>
                                 <td bgcolor="ffffcc" colspan="1" rowspan="1">
                                    <p class="para_note_body">4</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">60</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">40,40</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">10,15</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">8</p>
                                 </td>
                              </tr>
                              <tr>
                                 <td bgcolor="ffffcc" colspan="1" rowspan="1">
                                    <p class="para_note_body">5</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">80</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">50,60</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">15,20</p>
                                 </td>
                                 <td colspan="1" rowspan="1">
                                    <p class="para_note_body">12</p>
                                 </td>
                              </tr>
                              <tr bgcolor="">
                                 <td bgcolor="ffffcc" colspan="1" rowspan="1">
                                    <p class="para_note_body">6</p>
                                 </td>
                                 <td bgcolor="white" colspan="1" rowspan="1">
                                    <p class="para_note_body"><b class="literalText">END</b></p>
                                 </td>
                                 <td bgcolor="white" colspan="1" rowspan="1"></td>
                                 <td bgcolor="white" colspan="1" rowspan="1"></td>
                                 <td bgcolor="white" colspan="1" rowspan="1"></td>
                              </tr>
                           </tbody>
                        </table><br><p class="para_note_body">Begin the spreadsheet with <b class="literalText">PARAMETERS</b> and continue the next row with the parameter names the software displays in the <b class="uiTerm">Primary Parameters</b> and <b class="uiTerm">Details</b> groups of the <b class="uiTerm">Add Reusable Component </b>dialog boxes. After you type the data in each cell, separating multiple values with a comma, use the keyword <b class="literalText">END</b> to complete your data entry. 
                        </p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
         <li>
            <p class="para_item">In the <b class="uiTerm">Primary Parameters</b> group, select the parameters from the left and click <img align="bottom" src="graphics/ico_d_ct_rl_krx_right_arrow.gif" border="0"> to add it to the table. double-click the parameter in the table to edit the Descriptive Name. To remove a parameter, highlight it in the table, and click <img align="bottom" src="graphics/ico_d_ct_rl_krx_left_arrow.gif" border="0">.
            </p>
            <table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_note">
                        <p class="para_note_body"> Click <b class="uiTerm">Select a File </b><img align="bottom" src="../graphic_library/icons/dialogs/common/open.gif" border="0"> to browse, or type the path in the box.
                        </p>
                        <p class="para_note_body">Put your cursor over the help icon <img align="bottom" src="graphics/help.gif" border="0"> for more information regarding the entry.
                        </p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
         <li>
            <p class="para_item">In the <b class="uiTerm">Auto-matching</b> group, select a parameter from the list on the left, then choose how you want the software to determine the size of the part related to the selected face. 
            </p><a name="krx_matching"></a><table border="0">
               <tr>
                  <td valign="top" align="left"><img align="left" src="../graphics/example.gif" alt="Example" title="Example"></td>
                  <td valign="bottom" align="left" width="100%">
                     <div class="para_example">
                        <p class="para_example_body">The diameter of the face is 9, and the data of the <b class="uiTerm">Size</b> parameter lists &ldquo;4,6,8,10,12&rdquo;.  If you chose the <b class="uiTerm">Next largest or equal to (&gt;=)</b> matching condition, the software sets the <b class="uiTerm">Size</b> parameter to 10. If you choose <b class="uiTerm">Next smallest or equal to (&lt;=)</b> the software sets <b class="uiTerm">Size</b> to 8.
                        </p>
                     </div>
                  </td>
               </tr>
            </table>
         </li>
      </ol>
   </body>
</html>