Tool Graphics
Tool Graphics
(OP)
Within NX7.5 we build tool model assemblies downloaded from the suppliers. These models are then saved Native on each PC in
C:\Program Files\UGS\NX 7.5\MACH\resource\library\tool\graphics.
Tool data created in Manufacturing using same name as the model and exported to tool library. Then recalled from library and the tool model assembly graphics are shown.
We have 5 users on network and would like one location on the shared drive for all of the users to retrieve the tool model.prts from.
I believe that the procedure to overwrite variable is using the ugii_env.dat file.
Im obviously missing something, Ive added the test location of the model graphic library to ugii_env.dat (made safe copy first) but still cant see the model when I call the tool from Library in manufacturing.
#
# Copyright 1991 - 2009 Siemens Product Lifecycle Management Software Inc.
# All Rights Reserved.
#
###############################################################################
#
#
# This file should be used to override any standard NX environment variables.
# The values defined here will take precedence over the NX values, as long as
# they are defined before the #include of ugii_env_ug.dat. This file will not
# be overwritten by an MR installation.
#
# Override any variables here.
UGII_CAM_LIBRARY_TOOL_GRAPHICS_PATH=C:\CASING_TOOL_GRAPHICS\
UGII_CAM_LIBRARY_DEVICE_GRAPHICS_PATH=C:\CASING_TOOL_GRAPHICS\
UGII_CAM_LIBRARY_MACHINE_GRAPHICS_PATH=C:\CASING_TOOL_GRAPHICS\
# Do not define any variables after the #include below. They must be defined
# before the #include in order to override the NX defaults.
#
#if FILE ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#include ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
#endif
Iv tried with and without the # on If to endif line.
Without the # I get error message when opening NX!
Any advice would be much appreciated.
Currently using NX6





RE: Tool Graphics
Look for "Using ugii_env file" ...
The system searches several locations in a specific order.
Next, there are several variables that are used by the library system, and some are defined based on others, so you may not have everything.
The safest way to test this is to copy the entire resource folder (found under MACH) to your test location.
Then define only UGII_CAM_RESOURCE_DIR to point there.
Run NX and check the log file to see that all the CAM stuff is pointing to your test location.
If that works, and you still want to share less than the entire resource folder, I would share all the library files together, and not break out the graphics. If you try to keep the library files in separate locations, it can be very confusing. You can copy resource\library and define UGII_CAM_LIBRARY_DIR to point there.
Mark Rief
Product Manager
Siemens PLM
RE: Tool Graphics
Also, you did restart NX after changing the variable?
RE: Tool Graphics
Mark Rief
NX CAM Customer Success
Siemens PLM Software
RE: Tool Graphics
Mark
Followed your advice and the syslog points to the ugii_env.dat I've modified.
Using ugii_env.dat file from C:\Program Files\UGS\NX 7.5\UGII
Ive copied the Resource directory to to the shared drive, K:\casings\NX_SHARED_RESOURCE\resource, and changed the ugii.env.dat to the following
# Override any variables here.
UGII_CAM_RESOURCE_DIR="K:\casings\NX_SHARED_RESOURCE\"
# Do not define any variables after the #include below. They must be defined
Re-started NX and checked syslog again,its points to the new shared folder.
UGII_CAM_RESOURCE_DIR K:\casings\NX_SHARED_RESOURCE\
However when I try to start manufacturing I get error message
Invalid Configuration file.
Currently using NX6
RE: Tool Graphics
OOTB this should be resource\configuration\cam_general.dat.
I suspect either it is missing or it has a typo in it somewhere.
Mark Rief
NX CAM Customer Success
Siemens PLM Software
RE: Tool Graphics
Added line to ugii_env.dat pointing back to the original installed location
and now get a C++ Runtime error
Program C:\Program Files\UGS\NX7.5\UGII\ugraf.exe
RE: Tool Graphics
Mark Rief
NX CAM Customer Success
Siemens PLM Software