cool idea... i will investigate this further...

Thanks

On Fri, Aug 7, 2009 at 2:21 PM, John Creson <[email protected]> wrote:

> scripts/startup/menuItemToShelf.mel
>
> is called to do this action,
>
> You may be able to do something in here, like ask
>
> whatIs myMenuItem;
>
> and if it is unknown, assume it is Python?
>
>
> On Fri, Aug 7, 2009 at 1:32 PM, sberger <[email protected]> wrote:
>
>>
>> So I created this menu in the main menubar in python...the commands
>> attached to these python menuItem are python commands.
>>
>> When select the item in the menu, the python command execute
>> correctly... when I do a shift+CTRL click an item to make a shelf
>> button, it create a mel shelf button!!!
>>
>> Anyone know how to tell maya that this menuItem should create a python
>> command in the shelf?
>>
>>
>>
>>
>
> >
>


-- 
"A pit would not be complete without a Freeman coming out of it."
The Vortigaunt

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to