PDA

View Full Version : How to call a python script from a custom shelf


murphyra
09-23-2010, 09:48 PM
Hello everyone, I wrote a little tutorial on calling Python scripts from a custom code-generated shelf.
I hope someone can find it useful!

HEEERE! (http://murphystechtips.blogspot.com/2010/09/making-python-script-run-from-mel-shelf.html)

NaughtyNathan
09-24-2010, 09:01 AM
you know you can just make a shelf button be python right?

shelfButton -l "python button" -iol "py" -sourceType "python" -c "import foo;foo.main()";:nathaN

CGTalk Moderation
09-24-2010, 09:01 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.