×
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

Disable Save option in NX 7.5

Disable Save option in NX 7.5

Disable Save option in NX 7.5

(OP)
In this thread http://www.eng-tips.com/viewthread.cfm?qid=204831 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.

RE: Disable Save option in NX 7.5

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.

RE: Disable Save option in NX 7.5

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

RE: Disable Save option in NX 7.5

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

RE: Disable Save option in NX 7.5

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.

RE: Disable Save option in NX 7.5

(OP)
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.

RE: Disable Save option in NX 7.5

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.

RE: Disable Save option in NX 7.5

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.

RE: Disable Save option in NX 7.5

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

RE: Disable Save option in NX 7.5

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

RE: Disable Save option in NX 7.5

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

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