×
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

Hiding a Menu Item

Hiding a Menu Item

Hiding a Menu Item

(OP)
I'm looking to hide the File->New option.

Using a custom MEN file, I can add the line "HIDE UG_FILE_NEW". And that works.

But, how to also hide the toolbar icon ?

NX 6.0.5.3 (NX 8 Testing)
Windows XP32 (Windows 7 64)

RE: Hiding a Menu Item

RMB on the toolbars - choose customize - now right mouse button the file new button - delete.
Of course a user is able to insert the command again, i dont know if its possible to permantly remove the file-new button?

Best regards,

Michaël.

NX7.5.4.4 + TC Unified 8.3

 

RE: Hiding a Menu Item

Why, pray tell, are you trying to HIDE the File -> New... menu and icon?

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Hiding a Menu Item

(OP)
We're implementing a PLM solution and we'd prefer users to create new files within PLM.

Obviously the PLM solution has a file new option (inside NX), we'd just prefer to ensure that that's the option the user uses.

NX 6.0.5.3 (NX 8 Testing)
Windows XP32 (Windows 7 64)

RE: Hiding a Menu Item

Rather than hiding the File -> New... menu itme, why not just change the 'default action' to call your custom application.

This can be done using something called MenuScripts.

Note that while MenuScripts was the mechanism we used before we added the Customize tools to edit the Menu and Toolobar items, it still can used today, particularly for something like what you're proposing, changing what a menu item does, or adding a pre- or post- action to a menu item.

If you go to NX Help and search on 'menuscript' you will find the information that you need to set this up.  The big advantage of using MenuScripts over using only Customize, is that it's easier to prevent the average user from undoing this since it's done at a level where the changes are made to NX as it starts up so as far as the user is concerned, this is how NX is supposed to work and he will never know the difference as long as you don't give him WRITE access to where the 'MenuScript' files are located.

Anyway, long term for something like this, MenuScripts are the preferred approach.
 

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Hiding a Menu Item

(OP)
You're correct, that would be a better solution.

Thank you.

NX 6.0.5.3 (NX 8 Testing)
Windows XP32 (Windows 7 64)

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