<!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>Convert 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">Convert 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 class="para_topic">Launch the <b class="uiTerm">Convert Stock</b> dialog box by choosing <b class="uiTerm">Edit&rarr;Routing&rarr;Convert to Stock As Components</b>. You can use the resulting dialog box to convert a part that contains legacy stock into a <b class="uiTerm">Stock as Components</b> part.
      </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">A Routing part is either in the <b class="uiTerm">Legacy Stock</b> mode or the <b class="uiTerm">Stock as Components</b> mode. A part never contains both <b class="uiTerm">Legacy Stock</b> and <b class="uiTerm">Stock as Components</b>.&nbsp;Once a part is converted to <b class="uiTerm">Stock As Components</b>, it cannot be changed back to Legacy mode.
                  </p>
               </div>
            </td>
         </tr>
      </table>
      <table bgcolor="#F0F0F0" cellpadding="2" cellspacing="4" width="95%" align="center">
         <colgroup span="1">
            <col span="1" width="58*">
            <col span="1" width="141*">
         </colgroup>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">State</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Enters the dialog box.</p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Cue</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Specify options.</p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Status</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">None.</p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Defaults</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">All options are unchecked, and the<b class="uiTerm"> Stock Folder</b> is set to the value stored in the <b class="uiTerm">Stock Folder</b> preference.
               </p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Navigation Buttons</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><b class="uiTerm">OK</b> converts the work part to a stock as components part, no parts will save until you explicitly saves the part. After the conversion, the listing window opens with the results of the conversion (see Conversion results section below). 
               </p>
               <p class="para_td"><b class="uiTerm">Back</b> and <b class="uiTerm">Cancel</b> exits the dialog box and return to the previous dialog box.
               </p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Visibility</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">All items are always visible.</p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Sensitivity</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">All items are always sensitive.</p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Selection</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">None.</p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Actions</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">The <b class="uiTerm">Convert Subcomponents</b> option causes all components down the assembly tree rooted at the work part to convert when <b class="uiTerm">OK</b> is pressed.
               </p>
               <p class="para_td">The <b class="uiTerm">Create Permanent Stock</b> option causes the conversion to also rename all generated stock components by calling the <b class="uiTerm">Rename Stock</b> functionality. This happens after all components create.
               </p>
               <p class="para_td">The <b class="uiTerm">Reuse Stock</b> option causes the conversion to call the <b class="uiTerm">Replace Stock</b> function on all generated stock components. This happens after all components create. 
               </p>
               <p class="para_td">The <b class="uiTerm">Predict Results</b> button launches the listing window and details the number and type of components it is going to create. The prediction cannot predict how many components are going to be eliminated based on the <b class="uiTerm">Reuse Stock</b> option, as the user exit requires a stock component. If this option is enabled, then it makes a guess based on the algorithm used in the default user <b class="commandName">RETURN_EXISTING_STOCK_COMPONENT</b>. This algorithm looks for match stock pieces in parts that are going to be converted, or ones already been converted and are loaded. See the Conversion results example below.
               </p>
            </td>
         </tr>
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Valid Ranges</p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">This entry box has the same requirements as the <b class="uiTerm">Stock Component Folder</b> entry in the <b class="uiTerm">Preferences</b> dialog box.
               </p>
            </td>
         </tr>
      </table><br><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">Stock as Components</b>. This functionality is only available in <b class="uiTerm">Legacy Stock</b> mode.
                  </p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Undo:</div>
      <p class="para_division">This action cannot be undone. However, neither the converted part, nor any created components will save automatically.</p>
      <div class="title_division">Conversion results:</div>
      <p class="para_division">The <b class="uiTerm">Predict Results</b> button brings up the listing window with a report indicating the number of stock components that are going to create.
      </p>
      <p class="para_division">Upon completion of the conversion, a report displays in the listing window. This report shows the number and type of stock components created, as well as a listing of the parts created.</p>
   </body>
</html>