<!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>Rename Stock</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">Rename Stock</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingtools/stock_overview.html');return(false);">Stock Overview</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Options</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('routingtools/nested_stock.html');return(false);">Related Topics</a></p>
            </td>
         </tr>
      </table><br><p align="left"><img align="bottom" src="graphics/rename_icon.gif"></p>
      <p class="para_topic">Access this function from the <b class="uiTerm">Stock</b> dialog box, to rename stock components. This will also change the status of a stock component from temporary to permanent. Renaming a stock component does several things. First, all loaded occurrences of the stock component modify to reflect the new part name. The PART_NUMBER attribute on all occurrences of the stock component changes to be the same as the new leaf name of the part. This rename operation is a <b class="uiTerm">Save As</b> type operation, meaning a new part will create with the desired name but the original part will still exist. This new part does not write to disk until you actually save the part.
      </p>
      <p class="para_topic">The <b class="uiTerm">Rename Stock</b> function first calls the STOCK_COMPONENT_NAME user exit to get the name of the new component. The system renames the part. All references to the renamed part, by parts open in the session, modify to reflect the new part name.
      </p>
      <p class="para_topic">When you select multiple components, the STOCK_COMPONENT_NAME user exit and rename operation start on each part.</p>
      <p class="para_topic">After all stock components have been renamed, the list of parts that have been renamed appear in the listing window. The parts in the listing still exist, and you should remove them if they are no longer referenced.</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">This functionality does not apply to <b class="uiTerm">Legacy Stock</b> mode.
                  </p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Undo:</div>
      <p class="para_division">An undo marker is set just after the <b class="uiTerm">Rename Stock</b> button is pressed. he marker's label is <b class="uiTerm">Rename Stock</b>. <b class="uiTerm">Undo</b> <img align="bottom" src="graphics/undo.gif" border="0"> disables while in the <b class="uiTerm">Rename Stock</b> function. If no parts change names, then the undo marker deletes.
      </p>
   </body>
</html>