For connecting and communicating with NX models managed in local file system or Teamcenter, you will need to collect jar files from your NX installation. These jar files will be used with the Syndeia plugin for MagicDraw (section 2.4). Follow the instructions in this section to collect these jar files.
- Create a folder named libNX to collect the jar files needed for NX.
- Go to the UGII folder in the NX installation on your machine, e.g. C:\Program Files\Siemens\NX 9.0\UGII\\
- Copy the following 9 jar files from the UGII folder to the libNX folder created in Step 1.
- NXOpen.jar
- NXOpenRemote.jar
- NXOpenRun.jar
- NXOpenUF.jar
- NXOpenUFRemote.jar
- NXOpenUFRun.jar
- NXOpenUI.jar
- NXOpenUIRemote.jar
- NXOpenUIRun.jar
- When NX is installed, a system variable named UGII_ROOT_DIR is setup as an environment variable whose value is the location of the UGII folder in your NX installation, as shown in Figure 7 below. If this variable does not exist, go ahead and add it.
UGII_ROOT_DIR environment variable must be set (Windows only). - Add the following string: %UGII_ROOT_DIR% to the PATH environment variable on your Windows machine.
The instructions above are sufficient for Syndeia to interact with NX models in local file system.
If you want to access NX models in Teamcenter, you will need the Teamcenter 4-tier or 2-tier rich client installed on your machine. This is a requirement for Siemens NX CAD tool.
If you have a 4-tier rich client installed on your machine, follow the instructions -
Alternatively, if you have a 2-tier rich client installed on your machine, follow the instructions -