<!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>Command Line Startup Switches for Unix</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">Command Line Startup Switches for Unix</div>
      <hr noshade="true">
      <table border="0" cellpadding="2" cellspacing="3" align="center">
         <tr>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Switch</p>
            </td>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Description</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -dev=</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Type of output device for Gripbatch.</p>
               <ul>
                  <li>
                     <p class="para_item">OSFILE specifies a file given with the -name switch.</p>
                  </li>
                  <li>
                     <p class="para_item">LP specifies a line printer.</p>
                  </li>
                  <li>
                     <p class="para_item">NULL specifies no output</p>
                  </li>
               </ul>
               <p class="para_td">Use with the /run switch. For more details about the Gripbatch command line syntax, see &ldquo;Running a GRIP program&rdquo; in the <em>Open GRIP Help</em>.
               </p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -dir=</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Specifies the default directory to be used when running Gripbatch. Must be used with the /run switch. For more details about the Gripbatch command line syntax, see  <em>Running a GRIP program</em> in the Open GRIP Help.
               </p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -key=&lt;keystroke file&gt;</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">When the &lt;keystroke file&gt; is a macro, this switch causes it to execute on startup of NX. To execute a series of macros, list their names in the &lt;keystroke file&gt;, and give the file a &quot;.lxt&quot; extension. When NX starts, the macro files listed in the .lxt file execute sequentially.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -main_menu=</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Name of a custom main menu file to be used by the optional MenuScript application. Main menu files change the appearance of the main menu bar used in NX. Use of this switch overrides the value of the UGII_MAIN_MENU_FILE environment variable.</p>
               <p class="para_td">Example:</p>
               <p class="para_td">$UGII_ROOT_DIR/ugii -main_menu=my_main.men</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -name=</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Name of the output device file used when running a GRIP program through Gripbatch. Must be used with the /run switch. For more details about the Gripbatch command line syntax, see &ldquo;Running a GRIP program&rdquo; in the <em>Open GRIP Help</em>.
               </p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -pim=yes</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Starts NX in Teamcenter Integration mode instead of native mode.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -popup_menu=</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Name of a custom Quick View Pop-Up menu file to be used by the optional MenuScript application. A quick view popup menu file changes the appearance of the Quick View Pop-Up menu. Use of the switch overrides the value of the UGII_VIEW_POPUP_MENU_FILE environment variable.</p>
               <p class="para_td">Example:</p>
               <p class="para_td">$UGII_ROOT_DIR/ugii -popup_menu=my_popup.men</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -resize</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">If this switch is used during startup and you playback a macro, the size and shape of the graphics window is shown as it was during the macro's recording.</p>
               <p class="para_td">Example:</p>
               <p class="para_td">$UGII_ROOT_DIR/ugii -resize</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -retrieve=&lt;part file&gt;</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">Use this switch to load a part file during NX startup.</p>
               <p class="para_td">Example:</p>
               <p class="para_td">$UGII_ROOT_DIR/ugii -retrieve=mad485.prt</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> -run</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">This option specifies that NX is to run a GRIP program. Interactive NX is not brought up. Instead, the GRIP program specified on the command line is run. The -dir, -dev, and -name options are only valid when used with the -run option. For more details about the Gripbatch command line syntax, see &ldquo;Running a GRIP program&rdquo; in the <em>Open GRIP Help</em>.
               </p>
            </td>
         </tr>
      </table><br></body>
</html>