PDA

View Full Version : using pythonscript in hotkeys


Hardrawk
04-18-2008, 01:07 PM
Hi!

I made a small script toggeling ortho in Python. I want to attach this script to a hotkey by entering the code in the hotkey editor under command. It works with mel, but not python. Is there a way to fix this..?

Regards Johan

greatPumpkin
04-18-2008, 01:49 PM
you can save your python script in your scripts area, then run it from mel:

python("myScript.py");

CGTalk Moderation
04-18-2008, 01:49 PM
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.