Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Save option in NX 7.5

Status
Not open for further replies.

BOPdesigner

Mechanical
Nov 15, 2005
434
US
In this thread it discusses how to prevent the ability to save a file by disabling ctrl+s and the save option from the file menu. Looks like it will only stick for that role. Is there something else that can be set that is more permanent? Like an enviornment variable perhaps? We have NX on our shop floor computers where machinests are viewing and verifying the tool paths of NX CAM data created by our CNC programmers. We want to make sure that they don't accidently make a change and then save that change back to the network drive where they have the CAM part file opened from. We can't just restrict their access to this location to read only because there are other tools and applications they use in which they need to write data to this network location.
 
Replies continue below

Recommended for you

Well, once you've set up the system to the way you want it, simply delete all of the .mtx files that you find in the ...\ugii\menus\roles folder. If they have no 'roles' to revert back to then there will be no way for a user to resurrect the 'Save' option that you've removed from the UI.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
There is also the "NX Viewer" license that eventually could be of interest. It's a regular NX session but from where all the modifying options have been stripped, including the "save". Neither is it possible to change the "Application". On the negative side it requires a special license. I was for the company i work for hoping that the NX Viewer" could have used a NX Gateway license but negative. Needs special license.

Regards,
Tomas
 
It sounds like you want to create a security group of "machinists" and restrict their privileges to read-only on certain files (not entire directories). IT should be able to help you with this...

www.nxjournaling.com
 
Yes, simply make the files 'Read Only' and don't give these users any privileges to change the status of the Part files.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Thanks for your comments. Will have to look into the option of setting security so that the machinists can only view .prt files as read only. I didn't know you could do that. I looked at the NX Viewer but there is no option there to switch to the manufacturing application (in View mode) to view the tool path. There are no applications to select from in the viewer.
 
OK, there is a way of doing what you want but you'll need to make copies so as to protect yourself, but if you go into the actual menu file (ug_main.men) which contains all the various 'Save' items and delete them completely (or comment them out) then there will be no way for anyone to turn them back on or even find them in Customize.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
We have 2 7.5 NX Viewer licenses. How do you keep the computer from opening up a file in the full NX when they double-click a file.
 
If you only want certain computers to use certain licenses, you can specify computer names in an option file with FlexLM/FlexNet.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Reply to Derwood785: I assume that it's difficult since i think that it's the same executable NX and the NX Viewer
the startpath of NX :
C:\siemens\NX7.5\UGII\ugraf.exe
the startpath of NX Viewer :
C:\siemens\NX7.5\UGII\ugraf.exe -view


Maybe somebody can help here.

Regards,
Tomas
 
Tomas, Derwood785,

Regarding the response to Derwood785 - The .prt doubleclick eventually pass the .prt file to the ugraf.exe. The optional "package" argument (-nx | -view etc.) (-nx is assumed if not supplied) is remembered per user. So there are two approaches, for every user "remember" the -view package or always supply the -view to the definition for the .prt "mimetype" which passes arguments (including the part file name from the doubleclick) to ugraf.exe.

If a given user has used a "package" the subsequent nx session will read the user-specific stored "last package" info and use that package during the nx launch. (unless a different package is explicitly invoked)

Changing the registry for the 2nd option addresses all current and future users for that machine. (But is will not allow user specific ability to then run different NX "packages" without again editing the registry)

The registry key to accomplish the 2nd option is "HKEY_CLASSES_ROOT\UGpartfile\shell\open\command"

Add the following to the end of the current (Default) value for the key above:

-opts -view

To revert to NX use

-opts -nx

Hope this helps,
Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top