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.
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
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
RE: NX 6 Automation
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
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.