×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Tool Graphics

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

First, check your syslog to see if you are editing the right ugii_env.dat file.
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

I looked at the CAM_RESOURCE_DIR variable that I have modified and the location that I defined is listed inside parentheses. UGII_CAM_RESOURCE_DIR="M:\CONFIGURATION_CONTROL\Unigraphics Converted Data\Programming UG Part Files\Updates & Information\NX 9.0\resource\"

Also, you did restart NX after changing the variable?

RE: Tool Graphics

The variables establish the environment in which NX runs, so you have to restart NX after setting them.

Mark Rief
NX CAM Customer Success
Siemens PLM Software

RE: Tool Graphics

(OP)
Thanks all for the advice.

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

Check the file pointed to by UGII_CAM_CONFIG.
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

(OP)
Checked the file and its pointing to correct as you indicated.

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

If you cannot diagnose this from the syslog, please contact GTAC so that they can see what is happening.

Mark Rief
NX CAM Customer Success
Siemens PLM Software

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources