×
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

NX RMB menu in assembly Navigator

NX RMB menu in assembly Navigator

NX RMB menu in assembly Navigator

(OP)
Hi
We are developing a customization in NX which requires some command options in the RMB menu of Assembly Navigator. Is it possible through a Menuscript or API call?

Kindly advise.
Thanks
Rajat Jain

RE: NX RMB menu in assembly Navigator

What version of NX are you running?

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: NX RMB menu in assembly Navigator

(OP)
I need to support NX7.5, NX8.0 and NX9.0.

RE: NX RMB menu in assembly Navigator

Now if we're talking about selecting a Component in the Assembly Navigator, pressing MB3 (AKA RMB) and adding something to the pop-up menu there's something that you can do without having to write any code using NX 8.5 and NX 9.0. For older versions, I'm not sure how you would go about doing anything but if something is possible it would require using NX Open to customize or add something like what you're asking for.

Now as for NX 8.5 and NX 9.0, while the MB3 pop-up menu itself is not accessible to make changes/additions to, what we call the 'Shortcut Toolbar', which is available using Customization, can be modified. What you can do is add a 'User Command' which can then be set to show an icon of your choice and when selected can initiate any sort of action that you want, including the execution of a program, either written using NX Open, KF or any other language that you wish. You can also call a system command, launch a Journal/Macro or even a GRIP program, as well as any opening any existing NX dialog. All of this is done using the normal Customization function used to add items to toolbars and starting with NX 9.0 to the Ribbon Bar.

Anyway, that's about all that I can suggest at the moment. Note that if you do manage to create some sort of customized program for NX 7.5 and NX 8.0, that it should also work for NX 9.0, just that with NX 9.0 you can probably accomplish what you're looking for without having to write any custom programs, except perhaps the utility that you wish to execute, to add an additional action to MB3 when selecting a Component in the Assembly Navigator, or for that matter, when selecting a feature in the Part Navigator or an Assembly constraint in the Constraint Navigator.

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: NX RMB menu in assembly Navigator

Rajatjain,

NX 8.5 added support for programmatically modifying the NX context menu (RMB/MB3) for objects including components.

The modifications include adding new options, suppressing options, setting an option to be the default action, and reordering the options.

Please see the example code in the "%UGII_BASE_DIR%/ugopen/SampleNXOpenApplications/C++/ConfigureContextMenu" directory.

HTH,

Joe

RE: NX RMB menu in assembly Navigator

(OP)
Thanks John and Joe,

I could achieve it with API calls.

Thanks a lot for your help.

Thanks
Rajat Jain

Rajat Jain
Technical Director
JeeneDo Auto-Configure Pvt. Ltd.
www.auto-configure.com

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