Professional Documents
Culture Documents
CAD Translators
Installation
Proprietary & Restricted Rights Notice
This software and related documentation are proprietary to Siemens Product Lifecycle Management
Software 2 (IL) Ltd. © 2018 Siemens Product Lifecycle Management Software 2 (IL) Ltd.
Trademarks
Siemens and the Siemens logo are registered trademarks of Siemens AG. Tecnomatix is a trademark
or registered trademark of Siemens Product Lifecycle Management Software Inc. or its subsidiaries
in the United States and in other countries. All other trademarks, registered trademarks, or service
marks belong to their respective holders.
1.2 Licenses
The following licenses are needed for running the translators:
Required CAD
Translator Required Tecnomatix / Siemens PLM Software License
License
Access to CATIA
V5 needed:
Works with a
CATIA V5 HD2
TxCatia2co CAT5_IN Tecnomatix 14 FlexLM configuration.
Not all of the
licenses within
this configuration
are needed
Access to CATIA
V5 needed:
Works with a
CATIA V5 HD2
TxCo2catia CAT5_IN Tecnomatix 14 FlexLM configuration.
Not all of the
licenses within
this configuration
are needed
Basic license
forProE;
please refer to
TxConvert2co Teamcenter
proetojt-translator TC Visualization proetojt-translator
(ProE) Visualization
install guide
for further
instructions.
TxJt2co
Basic license
for ProE;
please refer to
Teamcenter
TxProE2cojt proetojt-translator proetojt-translator
Visualization
install guide
for further
instructions.
Please refer to
catiatojt-translator
Teamcenter
TxCatia2cojt catv5tojt_sca FlexLM install guide
Visualization
for further
instructions.
TxJt2cojt
Iges Teamcenter
TxIGES2Cojt FlexLM
_file_translator Visualization
Dxf Teamcenter
TxDXF2Cojt FlexLM
_file_translator Visualization
Teamcenter
TxSTEP2Cojt step_to_jt FlexLM
Visualization
The following import interfaces: TxCatia2co, TxConvert2co [NX/ProE], TxJt2co call Robfacein
automatically.
TxCo2catia calls Robfaceout automatically.
The license required for Robfacein /Robfaceout on Robcad is PRD_ROBFACE.
The license version is the same as that of Robcad.
• MS Visual J# 2.0
1. From the CAD Translators folder, run setup.exe. The InstallShield Wizard Welcome window is
displayed:
3. Accept the indicated destination location or click Change to select a different location to install
the CAD translator files.
5. Click Install. The Installing CADTranslators window is displayed indicating the progress of
the installation:
When the installation is complete, the InstallShield Wizard Completed window is displayed:
6. Click Finish.
1.8 Troubleshooting
If for any reason TxCatia2co or TxCo2catia does not work properly after installing CAD Translators,
verify that the redistributable packages were installed by checking in Start -> Control Panel ->
Programs and Features.
In case the redistributable packages were not installed, you must install them manually in the
following order:
1. MS .NET Framework 2.0 SP1, which you can find on the Tecnomatix installation DVD at the
following location:
CADTranslatorsx64\ISSetupPrerequisites\Microsoft .NET Framework 2.0 SP1
x64\NetFx20SP1_x64.exe
2. MS Visual J# 2.0, which you can find on the Tecnomatix installation DVD at the following location:
CADTranslatorsx64\ISSetupPrerequisites\Visual JSharp .NET Redistributable Package 2.0
x64\vjredist64.exe
o TxJt2cojt
o TxCatia2cojt
o TxProE2cojt
o TxSTEP2Cojt
o TxIGES2Cojt
o TxDXF2Cojt
• CO Translators:
o TxConvert2co (NX and Pro/E via jt)
o TxJt2co
o TxCatia2co
o TxCo2Catia
• CATIA V4
• IGES: 5.3
• JT: up to 10.2
• TxJt2cojt
• TxCatia2cojt
• TxProE2cojt
• TxIGES2cojt
• TxSTEP2cojt
• TxDXF2cojt
JT Translator
The TxJt2cojt application creates .COJT components for input .JT Assembly or .JT parts and creates
an XML allowing the hierarchy to be imported to the eMServer.
Syntax
TxNx2cojt|TxCatia2cojt|TxProE2cojt|TxJt2cojt
|TxDXF2Cojt|TxIGES2cojt|TxSTEP2cojtfile-name
[-output<output-name>]
[-f<list-file>]
[-dir<directory-path>]
[-library<prototype_output_directory>]
[-l<log-file>]
[-dest<destination-path>]
[-keep]
[-assytree]
[-hierarchyTypeoneComp|monoSubAssy]
[-accumulateMatrices]
[-noXml]
[-extIdMod<1|2|3>]
[-emsClassdefaultResource|compoundClass;prototypeClass;instanceClass]
[-equipment]
[-applyNamingRules]
[-v<F|E|W>]
[-h|-?]
Parameters
The COJT translators use intermediate JT files and therefore offer Additional JT Conversion
Capabilities.
2.4 CO Translators
• TxJt2co
• TxCatia2co
• TxCo2Catia
The CO translator applications: TxConvert2co, TxJt2co and TxCatia2co are command line
applications for converting NX, CATIA, Pro/E and IGES data files to .CO components.
TxCo2Catia is a command line application for converting CO components to CATIA.
In order to run TxCatia2co and TxCo2Catia, CATIA V5 must be installed with a valid license.
2.4.2 TxConvert2co
The TxConvert2co translator is a command line application for converting NX, CATIA, Pro/E and
IGES data files to Robcad component (*.co) files. TxConvert2co performs this conversion by first
converting the source file to a *.jt file, using the Siemens PLM Software NX to JT, CATIA to JT or
Pro/E to JT, IGES to JT converters. TxConvert2co then converts the intermediate *.jt file to a Robcad
*.co file. In addition to the *.co file(s), successful conversion also creates the following files in the
destination folder: jt2co.log and TxConvert2co_timeStamp.log.
To run the TxConvert2co translator, make sure that the relevant converter (NX to JT, CATIA to JT or
Pro/E to JT) is installed on your computer with the appropriate license.
NX Converter
The NX converter is part of the installation of the NX CAD system. No further installation is required.
• Set the environment variable UGII_BASE_DIR to point to the NX base installation directory.
Pro/E Converter
1. Install Pro/E.
Troubleshooting
• Using a text editor, open one of the following batch files: proeWF3tojt.bat, proeWF2tojt.bat,
proeWFtojt.bat, proe2001tojt.bat, depending on the version of Pro/E installed on your machine.
• Make sure that the PROE_DIR variable is set to the correct Pro/E installation directory. For
example: PROE_DIR=C:\Program Files\proeWildfire.
• In the PATH environment variable, the path to the installation of the Pro/E to JT converter must
come before the path to the installation of Pro/E.
Syntax
TxConvert2cofile-name
[-output<output-name>]
[-f<list-file>]
[-dir<directory-path>]
[-library<prototype_output_directory>]
[-filter<filterTypefiltername>]
[-l<log-file>]
[[-t<tolerance>]|[-T<tolerance>]]
[-y<layer1[-layer2]>...-y<layerN[-layerM]>]
[-excludepoint|line]
[-noExplode]
[-approx|-exact]
[-dest<destination-path>]
[-hierarchyType<cell|superComp|oneComp|monoSubAssy>]
[-keep]
[-accumulateMatrices]
[-noXml]
[-extIdMod<1|2|3>]
[-emsClassdefaultResource|compoundClass;prototypeClass;instanceClass]
[-equipment]
[-v<F|E|W>]
[-h|-?]
Parameters
The TxConvert2co translator uses intermediate JT files and therefore offers Additional JT Conversion
Capabilities .
3. Environment variable UGII_PV_TESS_CONFIG_FILE that specifies the full path and file name of
the configuration file.
The location of the configuration file is searched in the above order starting from 1.
Note
For users of NX11, the support path is located in: C:\Program Files\Siemens\NX
11.0\NXBIN. For users of previous NX versions the value remains UGII_ROOT_DIR.
Note: The paths listed above (C:\Program Files\Siemens\NX 9.0 and C:\Program
Files\Tecnomatix\CADTranslators) are given as examples. Your installations may use different paths.
2.4.4 TxJt2co
TxJt2co translator converts .jt Assembly or .jt Part to Tecnomatix/Robcad objects. For Assembly it
creates an XML allowing the hierarchy to be imported to the eMServer. Geometry files can be copied
to .COJT folder or converted to .co.
The translator contains flags that enable you to select the .jt file for conversion, the destination
location and several optional flags to customize the output according to need.
Syntax
TxJt2cojt-file
[-outputoutput-name]
[-dest<destination>]
[-library<prototype_output_directory>]
[-flistfile]
[-llogfile]
[-vF|E|W]
[-lod[0-1]]
[-keep]
[-approx|-exact]
[-noExplode]
[-noLine]
[-noPoint]
[-norfi]
[-noGenLod]
[-hierarchyType<cell|superComp|oneComp|monoSubAssy>]
[-hierarchyOnly]
[-accumulateMatrices]
[-noXml]
[-extIdMod<1|2|3...>](seedetailsforexplanation)
[-emsClassdefaultResource|compoundClass;prototypeClass;instanceClass]
[-equipment]
[-h|-?]
Parameters
2.4.5 TxCatia2co
[-emsClassdefaultResource|compoundClass;prototypeClass;instanceClass]
[-nogroups]
[-superComponents]
[-log<logFileName>]
[-vf|e|w]
[-norfi]
[-cacheon|off]
[-includeBlankEntities]
[-EntityLevel]
[-h|-?]
Parameters
[-exclude
Excludes specific types from the conversion.
solid|surface|curve|point|line|frame]
Important: CATIA and the converter dlls must be from the same release.
Color Conversion
Tecnomatix/Robcad applications currently support 20 colors while CATIA supports the RGB colors
mechanism (2563 options). As a result, CATIA V5 Interface only converts an approximation of
the original colors in CATIA.
Also, while CATIA enables colors on any face inside a solid, Tecnomatix/Robcad applications only
support the same color on the entire solid. When converting a solid that consists of faces with
different colors, the CATIA V5 Interface sets the color of the converted solid to one of the colors of the
faces (the first color encountered when traversing the solid). However, you can use the “Explode
Solid to Faces” option in order to set different colors to the faces of the solid.
• -f - the name of the file that contains a list of command lines to TxCatia2co. Each line in the file
contains a full command line: Inputs and Options.
Return Code
The application returns the following meaningful return codes:
ReturnCode Description
-3 No Tecnomatix license
Troubleshooting
After installing the CATIA V5, you may experience some of the following problems:
• The translator fails to load the CATIA environment.
• Verify that the PATH environment variable includes the path to the CAD translators folder. For
example, C:\Program Files\Tecnomatix\CadTranslators
• Make sure that you are able to run the CATIA application. If this is not possible, verify that your
CATIA license is valid and available, and that CATIA is configured using the correct license
information.
• Verify that the file you are attempting to convert, and to load into CATIA, has valid data. To do
this, open CATIA and load the file you are trying to convert, to verify that it is valid.
• Make sure that you have a valid Tecnomatix license for the V5 interface: FEA_CAD_INFACE_V5
The script processes each line in the .v4models.csh file, line after line serially, doing the following
(for every line):
• Replaces the DOS original path prefix with the Unix replacement path prefix.
The script actually modifies the .v4Models.csh file to run on Unix platform.
Notes :
The first parameter of the script is the DOS original path prefix. Instead of every backslash ('\'),
place two backslashes ('\\').
The second parameter of the script is the Unix replacement path prefix. Write this as a regular
Unix path (with slashes).
Example
.v4models.cshfilename:parts.v4models.csh
DOSoriginalpathprefix:C:\BUGS\
Unixreplacementpathprefix:/usr/staff/local/
parts.v4models.cshcontent:
catrob"C:\BUGS\Catia\UWE\63240sjaa001h1.model""C:\BUGS\Catia\UWE\comp3.co"-mirrorzx
catrob"C:\BUGS\Catia\UWE\63142sja_a000__.model""C:\BUGS\Catia\UWE\comp1.co"
catrob"C:\BUGS\Catia\UWE\63219sda_a001h1.model""C:\BUGS\Catia\UWE\comp2.co"
Script execution:
V4models-postprocess.cshC:\\BUGS\\/usr/staff/local/parts.v4models.csh
2.4.6 TxCo2Catia
The TxCo2Catia translator is a command line application that converts Robcad cells or components
into CATIA V5 data files.
The exported data is an approximation; TxCo2Catia does not export exact data.
Requirements
You must install the following applications on your computer before running TxCo2Catia:
• Robcad
Output
The output of TxCo2Catia is composed of CATIA V5 files, (CATProduct and CGR) a log file, and
an optional robface (rf) file.
When performing a conversion, TxCo2Catia creates the *.CATProduct file, containing hierarchy
information, together with a log file and output folder and axissystems.cgr (this contains frames (axis
systems) created at the cell level but not belonging to a specific component; if there are no such
frames, the file is not created). TxCo2Catia writes all the CATIA V5 files to the output folder.
If the keep option is active, TxCo2Catia also creates a *.rf file.
By default, TxCo2Catia names the *.log, *.rf, *.CATProduct and the output file folder after the cell or
component it is converting.
Syntax
TxCo2Catia<comp/cell>
[-output<outputName>]
[-log<logfileName>]
[-dest<destinationFolder>]
[-keep]
[-h]
Parameters
Important: CATIA and the converter dlls must be from the same release.
- For the same hierarchy structure it always generates the same External-IDs for the same objects.
- Duplicate IDs are made unique by using an enumeration mechanism.
- When 1024 characters are exceeded, it shortens the name and makes it unique using the
same (or similar) enumeration mechanism.
- Updates only succeed only if:
• All object paths are unique
• External-ID = "myassembly>car>door>rightdoor>handle>housing"
2. PDM configuration
• Use a special attribute: UGS_TX_EXTERNAL_ID that contains the External-ID as a string.
For example, NX users can add this attribute as follows:
Other CAD applications offer similar means for adding the UGS_TX_EXTERNAL_ID attribute.
o Users are responsible for the value of the External-ID that converts data to JT.
o When a user sets an invalid values (duplicate IDs or IDs that exceeded 1024 characters),
the application does not change the IDs. Instead, it informs the user about the
problematic IDs in the log, and it changes the name of the xml to outputName_invalid.xml,
to alert the user that the output xml is incorrect.
JT Node Attributes
A JT attribute is actually defined as a JtKProperty object.
A JtKProperty node can contain four types of attributes:
• JtkPUBLIC_SHARED - Designates a property that is visible among all instances of a
JtkAssembly or JtkPart. This is the default for all properties.
• JtkHIDDEN_SHARED - Designates a property that is associated with, but not visible from,
all instances of a JtkAssembly or JtkPart.
• JtkHIDDEN_INSTANCE - Designates a property that is only associated with, but not visible
from, the JtkAssembly, JtkInstance, or JtkPart on which it is placed.
Although this method uses Shared attribute for the root node and Instance attribute for all other
nodes, it is necessary to define the "UGS_TX_EXTERNAL_ID" attribute as SHARED and as
INSTANCE (with the same value) for each node, for the following reasons:
• In order to use this method for a sub tree, each node must have a SHARED attribute so it
can be read as a root node.
• In order to use this method and use the root node as a sub-tree, the root node requires
an INSTANCE attribute.
3. Unique External-ID
This method generates a unique External ID for each node. While very safe, it does not allow
users to implement an update.
The mapping file lists the name of each JT attribute, the name of the corresponding Robcad/eMServer
attribute, and YES or NO to specify whether or not to map the attribute. Each mapping occurs on a
separate line consisting of three white-space separated fields:
"CAD ATTRIBUTE" ROBCAD_ATTRIBUTE YES | NO
The quotation marks are optional; they are needed only if a CAD attribute has more than one word.
The third field is YES to use the mapping; NO has the effect of commenting out the line.
Replace With
'[\/\+-]'
<REMOVE-EXT> AnyExtension
'[^a-zA-Z0-9_]' _(underscore)
<INVALID-FIRST> r
<FIRST-30>
<UPPER-CASE>
The following table lists the predefined rules that can be changed.
Replace With
space _(underscore)
- _(underscore)
/ _(underscore)
.prt
.model
.library
.asm
All naming rules, whether predefined or customized, must be contained in a single file, which must be
named cad_names.opt. When a CAD translator encounters a component possessing an invalid
name, it applies the rules in cad_names.opt sequentially, replacing the invalid name with a valid
name.
The cad_names.opt searches in the following order:
1. current folder
2. home directory
3. Install dir/dat
Notes:
• There are two separate cad_names.opt files - one under the installation of the CAD Translators
and one under the Tecnomatix applications installation. The former only applies to the
applications in the CAD Translators. All other Tecnomatix applications (for example, cadlink)
use the file under the Tecnomatix installation.
Usage
1. Click the Browse button to the right of the Rules file field and select the location of the
cad_names.opt file, which contains the naming rules.
• To modify an existing rule, select it from the list and enter a new translation in the With
field. Click Replace.
• To delete a rule, select it from the list and click Delete. Click Delete All to remove all
naming rules.
• Use the Up and Down arrows to re-order the rules. When the system encounters an invalid
name, it processes the list of rules in order until it finds the first one that is applicable.
3. To add a special rule to the list, select it from the Special Rule dropdown list and then click
Add. Refer to Special Naming Rules below.
The Naming Rule Settings dialog box contains a list of special naming rules you can add to the
cad_names.opt file. You select these rules from the Special Rule dropdown list. Certain special
naming rules open an additional dialog that allows you to further define the details of the rule, as
described in the table below.
Insert substring
Remove extension
• The user is able to set this variable in the current shell or as a general variable on the machine.
• The user is able to run multiple sessions of an interface using different instances of Robfacein at
the same time, by setting different values in different shells.
• A user with a standard installation of either Tecnomatix or Robcad is not required to make any
configuration changes.
• CAD Setup adds the CAD installation path to the machine's PATH variable.
• CAD Translators includes as add-on installation of ProE to Jt translator and installation of Catia to
Jt translator. This is needed in order to translate ProE and Catia V5 data to Tecnomatix / Robcad.
Headquarters
Europe
Granite Park One
Stephenson House
5800 Granite Parkway
Sir William Siemens Square
Suite 600
Frimley, Camberley
Plano, TX 75024
Surrey, GU16 8QD
USA
+44 (0) 1276 413200
+1 972 987 3000
Asia-Pacific
Americas
Suites 4301-4302, 43/F
Granite Park One
AIA Kowloon Tower, Landmark East
5800 Granite Parkway
100 How Ming Street
Suite 600
Kwun Tong, Kowloon
Plano, TX 75024
Hong Kong
USA
+852 2230 3308
+1 314 264 8499