<!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>How Do I?</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_topic1" id="xps10_pagetitle">How Do I?</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('dataexchange/Introduction.html');return(false);">Overview</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('dataexchange/get_started.html');return(false);">How To</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('dataexchange/main_dialog.html');return(false);">Options</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td">Related Topics</p>
            </td>
         </tr>
      </table><br><div class="title_division">How do I find additional online help?</div>
      <p class="para_division">The most recent Tips &amp; Techniques, as well as updates on known problems you should go to <a class="links" href="javascript:void(0)" onclick="top.openFileURL('http://uganswer.ugs.com');return(false);">UGS</a>.
      </p>
      <div class="title_division">How do I find any summary and error messages from a translation?</div>
      <p class="para_division">When you translate one or more files, a log file is created in the same folder/directory as the output files. It will have a &lt;.log&gt; extension, and a root name that corresponds with the input file name. If a list of files was specified, the log file will be named after the first file in the list. The external user interface will display the name used in the lower right portion of the main dialog box.</p>
      <div class="title_division">How do I create modify a base part to incorporate changes I need?</div>
      <p class="para_division"><b class="uiTerm">Base Parts</b> are standard NX parts, which have been created ahead of time with standard NX part information. Therefore you can modify <b class="uiTerm">Base Parts</b> as you would any NX part. You can open a new NX part or you can open the one supplied in the translator installation directory. You make the necessary changes to this NX part and save it as appropriate.
      </p>
      <p class="para_division">You then have to edit (using a standard editor or word processing application) the <b class="uiTerm">Settings</b> file you will be using and update or add the appropriate parameter. For example for IGES the default is to use the <b class="uiTerm">Base Parts</b> found in the IGES installation directory named:
      </p>
      <p class="para_division"><code>BASE_PART_IN=igesnullvnx40_in.prt</code></p>
      <p class="para_division"><code>BASE_PART_MM=igesnullvnx40_mm.prt</code></p>
      <p class="para_division">If you changed the metric part, and saved it to d:\supplierA\startpart.prt, then you would update the parameter as follows.</p>
      <p class="para_division"><code>BASE_PART_IN=igesnullvnx40_in.prt</code></p>
      <p class="para_division"><code>BASE_PART_MM=d:\supplierA\startpart.prt</code></p>
      <p class="para_division">There is a standard <b class="uiTerm">Base Part</b> for MM and Inch parts so make sure you modify the appropriate one.
      </p>
      <p class="para_division">Even though you cannot directly modify this parameter via the user interface, the parameter and value are retained even if the User Interface is used to make other changes are made to the <b class="uiTerm">Settings</b> file with this information in it).
      </p>
      <div class="title_division">What is the difference between INFO messages and WARNING messages in the log file?</div>
      <p class="para_division">INFO messages convey information that inform the user of events (typically benign) that occur during translation that are slightly out of the ordinary. These events do not affect the quality or success of the translation.</p>
      <p class="para_division">WARNING messages are issued when the translator does something that may be of interest to you. Warnings could indicate when a tolerance has been used during import that is looser than the one that has been specified. A warning might indicate that an improper construction was found in an IGES or STEP file &ndash; along with how it was handled. Generally, warning messages indicate that some of the actions/events being reported could affect the translated data, there has not been a significant impact on normal translator processing.</p>
      <div class="title_division">What is a syslog file and how interested should I be in it?</div>
      <p class="para_division">A syslog is created whenever you run a translation. NX writes messages to the system.log file during the translation. The translator writes translator specific messages to the log file. If the translation is successful the syslog file is automatically deleted. If the translator crashes or ends with a significant error, the syslog file will be left in the UGII_TEMP_DIR directory. We recommend contacting the UGS Global Technical Access Center (<a class="links" href="javascript:void(0)" onclick="top.openFileURL('http://support.ugs.com');return(false);">UGS Support</a>) to evaluate the file.
      </p>
      <div class="title_division">How do I use the imported STEP validation information?</div>
      <p class="para_division">You can use the NX function <b class="uiTerm">Format&rarr;Attribute&rarr;Part/Object&rarr;List&rarr;User Defined</b> to review &nbsp;the imported validation values.
      </p>
      <div class="title_division">How do I change the way character fonts are mapped during translation?</div>
      <p class="para_division">DXF/DWG provides a mechanism for creating map files that direct the translator to use a specific font when mapping from a given font. Line style and color can also be handled in this manner. See <a class="links" href="javascript:void(0)" onclick="top.openFile('dataexchange/map_spec_proc.html');return(false);">Mapping Specification File Processing</a> for details. Unfortunately this capability is not provided with IGES or STEP.
      </p>
      <div class="title_division">When I import a STEP file, no data ends up in the NX part file. What happened?</div>
      <p class="para_division">Usually when this happens, the STEP file you received does not have solid data in it. Most likely the data was exported from the other system as surface data. You should import the STEP file again, but on the <b class="uiTerm">STEP General Settings</b> dialog box, ensure you check <b class="uiTerm">Surfaces</b> (as well as <b class="uiTerm">Solids</b> and <b class="uiTerm">Product Data</b>) as an object type to import.
      </p>
      <div class="title_division">How do the translators work with Teamcenter Integration?</div>
      <p class="para_division">If you are running from inside of NX using the <b class="uiTerm">File&rarr;Export</b>, you will have direct access to the Teamcenter Integration file selection.
      </p>
      <p class="para_division">If you are importing, you need to do a <b class="uiTerm">File&rarr;Import</b> to the Current part and then use the normal <b class="uiTerm">Save</b> function to store the results in Teamcenter Integration/
      </p>
      <p class="para_division">You cannot access Teamcenter Integration files from the external user interface.</p>
      <p class="para_division">You can use the command line execution option to export a Teamcenter Integration file. To do this you need to specify a particular input parameter. The example uses STEP 203 but STEP 214 and IGES behave similarly. DXF/DWG does not support exporting Teamcenter Integration files from the command line.</p>
      <p class="para_division">Source your Teamcenter Integration environment,</p>
      <p class="para_division">set <code>PATH=%UGII_ROOT_DIR%;%PATH%</code></p>
      <p class="para_division"><code>g:\ugnx40\STEP203UG\step203ug.exe &quot;@DB/000201/A&rdquo;</code> D=&rdquo;g:\ugnx40\STEP203UG\step203ug.def&rdquo; &ndash;pim:yes
      </p>
      <p class="para_division">The path of step203ug.exe and step203.def will be unique for each environment. The above example translated UGMASTER 000201\a to STEP and saved the file as 000201_a.stp.</p>
      <div class="title_division">Can I edit the Settings file outside of the user interface?</div>
      <p class="para_division">Yes. Setting files are ASCII files and therefore can be updated using your favorite editor. You will need to ensure that you type correctly. This is a good way to specify a different <b class="uiTerm">Base Part</b>.
      </p>
      <div class="title_division">What are the Best Practices for exchanging data with CATIA users?</div>
      <p class="para_division">We update our Best Practices documents on a continual basis. To get a copy of the latest version, you can contact <a class="links" href="javascript:void(0)" onclick="top.openFileURL('http://support.ugs.com');return(false);">UGS Support</a>.
      </p>
      <div class="title_division">What are the Best Practices for exchanging data with AutoCAD users?</div>
      <p class="para_division">We update our Best Practices documents on a continual basis. To get a copy of the latest version, you can contact <a class="links" href="javascript:void(0)" onclick="top.openFileURL('http://support.ugs.com');return(false);">UGS Support</a>.
      </p>
      <div class="title_division">What are the Best Practices for exchanging data with Pro/E users?</div>
      <p class="para_division">We update our Best Practices documents on a continual basis. To get a copy of the latest version, you can contact <a class="links" href="javascript:void(0)" onclick="top.openFileURL('http://support.ugs.com');return(false);">UGS Support</a>.
      </p>
      <div class="title_division">How do I execute the translators from a command line?</div>
      <p class="para_division">The command line interface allows you to translate files without using the interactive menus. You can get to the command line prompt with the following steps:</p>
      <ul>
         <li>
            <p class="para_item">First ensure that your NX environment variables are properly set up. This includes UGII_BASE_DIR and UGII_ROOT_DIR.</p>
         </li>
         <li>
            <p class="para_item">Second your PATH variable should include UGII_ROOT_DIR.</p>
         </li>
         <li>
            <p class="para_item">Third, execute the appropriate script to initiate the translator. Note that if no parameters are passed to the script, the user interface will automatically start. Generally, you want to pass the name of the file to be translated. The output file name is the same as the input file name, except with the appropriate file extension.</p>
         </li>
      </ul>
      <ul class="hangingList">
         <li>
            <p class="para_item"><b class="commandName">$%UGII_BASE_DIR%/step203ug/step203ug.cmd &lt;input_file&gt;</b></p>
         </li>
         <li>
            <p class="para_item"><b class="commandName">$%UGII_BASE_DIR%/step214ug/step214ug.cmd &lt;input_file&gt;</b> 
            </p>
         </li>
         <li>
            <p class="para_item"><b class="commandName">$%UGII_BASE_DIR%/iges/iges.cmd &lt;input_file&gt;</b> 
            </p>
         </li>
         <li>
            <p class="para_item"><b class="commandName">$%UGII_BASE_DIR%/dxfdwg/dxfdwg.cmd &lt;input_file&gt; </b></p>
         </li>
      </ul>
      <p class="para_division">Options:</p>
      <p class="para_division">d = Settings file name</p>
      <p class="para_division">o = Output File Name</p>
      <p class="para_division">l = Processing Log File Name</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 input file name must be the first parameter given on the command line.</p>
               </div>
            </td>
         </tr>
      </table>
   </body>
</html>