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

## Troubleshooting Unigraphics DCI Errors

The first thing you should do when troubleshooting the Unigraphics DCI is to run PC-DMIS with the DebugDCI entry set to TRUE. This will creates a debug file named UG_DCI.txt in the directory containing the PC-DMIS application executable.

To set this entry see "Using the DebugDCI Entry" under the "Setting Advanced Unigraphics Options in the PC-DMIS Settings Editor" topic.

Problem: | When importing a Unigraphics part file you get this error message: "ERROR - Couldn't find the UG execution file!".
Possible Causes: |

- Is the UGII_ROOT_DIR environmental variable set correctly?
  The Unigraphics install process sets this environmental variable. PC-DMIS uses it to locate the UG execution file. To check the value, open a Command Prompt window and type echo %UGII_ROOT_DIR and then press ENTER. If the environment variable is installed correctly, the Command Prompt window will return the pathway containing the environment variable. c:\ugs180\UGII\ pathway.

- Is the UG executable file where it says it is?
  The UG executable file, Libfun.dll, should be in the %UGII_ROOT_DIR% directory. To check this, open a Command Prompt window and type dir %UGII_ROOT_DIR% and then press ENTER. You should see the Command Prompt window display the libufun.dll file information.

- Do you have the required Unigraphics license features available?
  The required license features are listed in the Minimum License Requirements table. You can check if the license manager is running and if the required license features are available by using a utility named LMTOOLS provided by Unigraphics. You can run this utility by opening lmtools.exe, located in the UGFLEXLM directory. Once it's running, click the Server Statue tab, click the Perform Diagnostics button. LMTOOLS will display the license features your license has and if any are available. For more information on using LMTOOLS, see your “UG FLEXLM User Guide”.

- Is the UG part file corrupted?
  Unigraphics supplies a tool called UG_INSPECT.EXE that checks if Unigraphics part files are corrupted. This tool is found in the Unigraphics UGII directory and runs within a Command Prompt window. To get information on using this tool, open up a Command Prompt window and type ug_inspect –help and press ENTER.