|
|||||
|
|
#1 |
|
rawr.
Join Date: May 2009
Location: Surrey
Posts: 315
Thanks: 22
Thanked 8 Times in 5 Posts
|
Maya 2011 - Hotkey
Is there anyway to have a python command (not MEL) as a hotkey (not as a button on the shelf)?
It surprises me that it lets you choose between MEL/Python when you write a command for the shelf, but there doesn't seem to be the same selector for the hotkey editor. Unless I'm missing something really obvious ![]() Any help appreciated - even if there's a hacky way to achieve the same effect (map a hotkey to python cmd). -- or even a MEL command to a shelf button - such that I could put the python cmd in a shelf button and then map a hotkey to a mel cmd which linked the button :S
__________________
we're all different [...] but there's something Fantastic about that ![]() www.ataulmunim.co.uk | relating my slow and (un)steady progress in creating a showreel Last edited by timberwo7ves; 24-08-2011 at 11:05 AM.. |
|
|
|
|
|
#2 |
|
rawr.
Join Date: May 2009
Location: Surrey
Posts: 315
Thanks: 22
Thanked 8 Times in 5 Posts
|
In case anyone has the same issue, I used this site's solution http://www.rodgreen.com/?p=205.
Saving my python script in a .py, and using the MEL interpreter to call the Python interpreter to import and execute the python script, via the Hotkey Editor.
__________________
we're all different [...] but there's something Fantastic about that ![]() www.ataulmunim.co.uk | relating my slow and (un)steady progress in creating a showreel |
|
|
|
|
|
#3 |
|
niteshahir
Join Date: Sep 2011
Location: Ahmedabad, India
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
eSparkinfo
thanks for sharing such a news..
|
|
|
|
![]() |
| Tags |
| hotkey, maya |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|