<!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>Translating from the command prompt</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">Translating from the command prompt</div>
      <hr noshade="true">
      <p class="para_topic">If you have a large model file or a number of model files to translate, it is recommended that you translate files from the command prompt .</p>
      <p class="para_topic">There are several options you can use at the command prompt when you translate 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">The options you set in the command prompt override options set in the configuration file. </p>
               </div>
            </td>
         </tr>
      </table>
      <p class="para_topic">To translate models from the command prompt:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">At the command prompt in your shell window, type one of following:</p>
            <ul>
               <li>
                  <p class="para_item">ugnxtojt OPTIONS MODELFILE &lt;...&gt;</p>
               </li>
            </ul>
         </li>
         <li>
            <p class="para_item">Press Enter.</p>
         </li>
      </ol>
      <p class="para_topic">You can add the following options to the command line:</p>
      <table cellspacing="2" width="100%" align="center">
         <colgroup span="1">
            <col span="1" width="55*">
            <col span="1" width="141*">
         </colgroup>
         <tr>
            <th bgcolor="#c0c0c0" colspan="1" rowspan="1">
               <p class="para_th">Add this option</p>
            </th>
            <th bgcolor="#c0c0c0" colspan="1" rowspan="1">
               <p class="para_th">To do this</p>
            </th>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1" valign="top">
               <p class="para_td">-o output path and filename</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <ul>
                  <li>
                     <p class="para_item">Specify an output directory that overrides the output directory specified in the configuration file</p>
                  </li>
                  <li>
                     <p class="para_item">Specify a filename with or without a .JT extension.</p>
                  </li>
               </ul>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-z configuration file</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Specify the name of a different configuration file.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-l input file</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Translate the files listed in the input file.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-v</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Write detailed information to the shell window while your model translates.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-h</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Display a list of short, one-line explanations for each option.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-d</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Run the translator in demonstration mode.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-w</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Include wireframe information in the translated model files.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-b</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Translate large assemblies one component at a time. This saves memory but is very slow.</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 options works only for &ldquo;MIMIC&rdquo; or &ldquo;FULL_SHATTER&rdquo; options.</p>
                        </div>
                     </td>
                  </tr>
               </table>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-c</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Preserve multiple colors (some faces are assigned different colors) in translated parts.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">-i</p>
            </td>
            <td bgcolor="#F7F7F7" colspan="1" rowspan="1">
               <p class="para_td">Translate only objects in the top level assembly.</p>
            </td>
         </tr>
      </table><br><div class="title_division">Teamcenter Engineering (formerly called iMAN) Integration</div>
      <p class="para_division">The NX translator can translate NX data from Teamcenter Engineering. You can export the output JT files to the specified output path in the file system or import into Teamcenter Engineering itself.</p>
      <p class="para_division">To translate Teamcenter Engineering data at the command prompt:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">Ensure that Teamcenter Engineering environment variables are set before translation..</p>
         </li>
         <li>
            <p class="para_item">At the command prompt in your shell window, type</p>
            <p class="para_item">ugnxtojt OPTIONS -- -pim=yes -u=&lt;userid&gt; -p=&lt;password&gt; -g=&lt;group&gt; @DB/&lt;item_id&gt;&lt;item_rev&gt;</p>
         </li>
         <li>
            <p class="para_item">Press Enter.</p>
         </li>
      </ol>
   </body>
</html>