How do I execute the translators from a command line?
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:
*
Ensure that your NX environment variables are properly set up. This includes UGII_BASE_DIR and UGII_ROOT_DIR.
*
Set your PATH variable should include UGII_ROOT_DIR.
*
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.
*
$%UGII_BASE_DIR%/step203ug/step203ug.cmd <input_file>
*
$%UGII_BASE_DIR%/step214ug/step214ug.cmd <input_file>
*
$%UGII_BASE_DIR%/iges/iges.cmd <input_file>
*
$%UGII_BASE_DIR%/dxfdwg/dxfdwg.cmd <input_file>
Options:
d = Settings file name
o = Output File Name
l = Processing Log File Name
Note:
The input file name must be the first parameter given on the command line.
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP