>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Help, Advice and Chat > General software and hardware help
bottom-table-gradient

Reply
 
Thread Tools Display Modes
Old 24-08-2011, 10:24 AM   #1
timberwo7ves
rawr.
 
timberwo7ves's Avatar
 
Join Date: May 2009
Location: Surrey
Posts: 315
Thanks: 22
Thanked 8 Times in 5 Posts
Awards Showcase
Threedy Top Poster - Bronze: Contributing to the forums with 100+ posts - Issue reason: Target reached! Speed Modelling - Bronze: 3rd place in a speed modelling challenge! - Issue reason: 3rd place in a speed modelling challenge! Speed Modelling - Bronze: 3rd place in a speed modelling challenge! - Issue reason: Users Who Have Already Recieved Awards  	Issue reason	Issue time	Controls	Remove PKT	3rd place in a speed modelling challenge! 
Total Awards: 3
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..
timberwo7ves is offline   Reply With Quote
Old 24-08-2011, 12:43 PM   #2
timberwo7ves
rawr.
 
timberwo7ves's Avatar
 
Join Date: May 2009
Location: Surrey
Posts: 315
Thanks: 22
Thanked 8 Times in 5 Posts
Awards Showcase
Threedy Top Poster - Bronze: Contributing to the forums with 100+ posts - Issue reason: Target reached! Speed Modelling - Bronze: 3rd place in a speed modelling challenge! - Issue reason: 3rd place in a speed modelling challenge! Speed Modelling - Bronze: 3rd place in a speed modelling challenge! - Issue reason: Users Who Have Already Recieved Awards  	Issue reason	Issue time	Controls	Remove PKT	3rd place in a speed modelling challenge! 
Total Awards: 3
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
timberwo7ves is offline   Reply With Quote
Old 15-09-2011, 07:21 AM   #3
niteshahir
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..
niteshahir is offline   Reply With Quote
Reply

Tags
hotkey, maya


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
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
Forum Jump


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission