×
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 6 Automation

NX 6 Automation

NX 6 Automation

(OP)
I want to learn if it is possible to have a new applicaton button and assign its action a previous defined button action. I want to use file->export->stl . When i look at the ug_main.men file,
  BUTTON UG_FILE_EXPORT_RAPID_PROTOTYPE
  LABEL ST&L...
  MESSAGE Exports selected solid and sheet bodies into an STL (Stereo Lithography) file.
  SYNONYMS SLA
  HELP RPI_parameters
  ACTIONS STANDARD

It has Standard action and a HELP parameter. so where is the definition of the action of this button? If there is no way to use that functionality of a previous button, how can i do that automation using NXOpen C api.
In addition , this button do not support journals.

RE: NX 6 Automation

Version?

From at least NX-5 onward you can drag and drop buttons and menu items to practically anywhere you like just using the Customize dialogs. This is where you click in the grey space surrounding the icons with MB3 and the list of menubars pops up whereby you can navigate to the very bottom and pick Customize to enter the dialog. After than the Commands Tab has the Menu Bar near the top and you can find File then Export in teh left hand box, and then look for STL in the right hand box, which you can then drop and drag wherever you'd like onto any existing menu bar or indeed to the top line of menus. Sure you'd probably have to change the icons yourself if you insist on having something fancier than out of the box, but realistically this method is probably simpler and more maintainable than coding your own menus.

Save it in a role when you're done.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum

RE: NX 6 Automation

(OP)
thanks for interest hudson888. This does not exactly what i want, because i want to do some changes on the functionality like choosing the save path etc. and it does not added to my menu files.

RE: NX 6 Automation

Okay I just thought that maybe I could save you some trouble.

You can do it with something like a User Command or Added menu though allowing you to create your own customisations still without necessarily having to code them but to point at the odd macro or journal. They're under the same Customize dialog area that I described earlier but in the left hand box you need to look nearer the bottom of the listed items.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum

RE: NX 6 Automation

Hudson is right, before you start to hack menu/toolbar files, your best bet is to look at what can be accomplished using the Customize tools and then saving your changes in a Role.  You have complete control over the placement, appearance, action and even what the tool-tip will say using Customize and there is very little risk of 'breaking' a .men or a .tbr file, which if done manually could effect more than just the items that you're attempting to edit or replace.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

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

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