Current Help System: Direct CAD Interfaces (View Core Help)

## Troubleshooting CATIA DCI Errors

Problem: | PC-DMIS is unable to connect to pcdcat.
Possible Causes: |

- Is pcdcat running on the UNIX workstation?
  The program pcdcat has to be running in order to connect to PC-DMIS.

- Do the pcdlrn.ini file or PC-DMIS Settings Editor entries agree with the file pcdmis.dat on the UNIX box?
  In the PC-DMIS Settings Editor (or the Pcdlrn.ini file if you're using a version earlier than 3.5), the registry entry CatiaAddress on the PC side should be the same as the entry “IP” in the file pcdmis.dat, and should be the IP address of the UNIX workstation. Also, the entry CatiaPort on the PC side should be the same as the entry PORT in pcdmis.dat, and should be an open port on both machines.

- Is the PC-DMIS PC able to see the UNIX workstation?
  The PC needs to be able to reach the UNIX workstation through the network. From a Command Prompt window on the PC, type the command "Ping IP_ADDRESS", where IP_ADDRESS is the IP address that PC-DMIS has for the UNIX workstation.

Problem: | PC-DMIS is able to connect, but unable to open a folder.
Possible Causes: |

- The directory name you gave in PC-DMIS is not registered in the CATIA environment.
  The directory that PC-DMIS reads the models from must be registered in the CATIA environment on the UNIX workstation. You can do this by editing the *.dcls files. For example, a full-path directory like “/home/catadm/db” can be registered with the line:
  catia.MODEL = ‘$HOME/db’;
  Likewise, you can refer to the same directory with the label "db" if you use the following line:
  catia.MODEL = ‘”$HOME/db”, “db”’;

- The directory does not have the correct permissions. The user logged in and running pcdcat needs to have read/write permissions in the directory.

Problem: | You can select a model, but it fails to open it, possibly even saying that it has the wrong units.
Possible Causes: |

- Do you have read/write permissions on the model? CATIA needs to have read/write permissions to read the file.

Problem: | You try to connect to a model and get an error message stating: "Error loading CATIA 5 DCI DLL 'CATIA 5' The specified module could not be found."
Possible Causes: |

- Has your CATIA 5 bin directory been added to your Path environment variable? If the Path variable doesn't point to the appropriate bin directory, then the program probably won't be able to find the needed .dll files.

To find out if all the needed .dll files are getting found, do the following:

1. Determine what version of CATIA 5 you have installed. As of version 3.5 MR2, PC-DMIS supports r8 and r10.

2. Use PC-DMIS Settings Editor to find the release number (under Catia5 section).

3. Now look for the associated .dll file in your PC-DMIS installation directory. For example, if your release number is 10, look for Catia5r10.dll.

4. Right click the file from within Windows Explorer and select View Dependencies. The program will show you any .dll file that Catia5r10.dll is looking for but hasn't found. If there aren't any .dll files that start with CAT*, then you probably haven't added your CATIA 5 bin directory to your path.

To modify your Path environment variable to contain the CATIA 5 bin directory:

1. Select Start | Settings | Control Panel. The Control Panel appears.

2. Double-click the System icon.

3. Select the Advanced tab.

4. Click the Environment Variables button.

5. Under the System Variables area, select the Path variable and then click the Edit button. Add the intel_a\code\bin directory to your Path variable (this is a subdirectory usually found in the c:\catia\b10\ directory for release number 10 or c:\catia\b8\directory for release number 8).

6. Once you've added this to your Path variable, use View Dependencies to make sure all DLLs are found.