JT: The catia2jt Script
There are two main steps in the JT conversion process:
1. Create the JT datasets.
2. Convert and import JT files.
The catia2jt script must be modified prior to converting CATIA V5 documents into JTs, unless the Dispatcher Services method is used.
The translator batch file uses three parameters:
1. The first parameter is the converting type.
· 0 = convert a product file
· 1 = convert a directory of V4 files, else convert a directory of V5 files
2. The second parameter is the full path of the file name (if the first parameter = 1) or the input directory.
3. The third parameter is the output directory.
The illustration below was created by setting:
TS_INST: The directory where the translator is installed (Theorem, by default).
V5_EXE: The path to the executable file which converts V5 and CATProducts files (Theorem, by default). If the executable is not the same for V5 and CATProduct files, set the path in the command labeled "PRODUCT:" for CATProduct and "V5:" for V5 files. The configuration file is specified in the command for each type.
V4_EXE: The path to the executable file which converts V4 files (Theorem, by default).