Is it possible to write a python script that opens (when a gui button is pressed) the "export selection" dialogue box? Basically I just need to create a shortcut so that a user wouldn't have to open the "file" dropdown menu in Maya. Can this be done? If so, how?
Hmm...The article is poorly written but if I understand it correctly, it uses MEL and python to create a shelf button, which isn't quite what I need.
We've got a GUI (just a simple window) with a button labeled "export," and we need this button, when pressed, to open up the "export selection" dialogue box. Basically it would be a shortcut to going file > export selection.
Assignment? Is this for a class? If not, I can give you the code. Or better yet, I can tell you how to get the code for yourself; that way you can learn how to automate a huge amount of things!
You may not post new threads |
You may not post replies |
You may not post attachments |
You may not edit your posts |
BB code is On |
Smilies are On |
[IMG] code is On |
HTML code is Off