This can now be done in 6.3v1.

myMenu = nuke.menu("Nuke").addMenu("My Menu")
myMenu.addCommand("Menu item 1", "")
myMenu.addCommand("Menu item 2", "")
myMenu.addCommand("Menu item 3", "")

myMenu.removeItem("Menu item 2")




On Wed, Jul 6, 2011 at 12:40 PM, Jacob Harris <[email protected]> wrote:

> Doesn't seem possible on 6.2v4. No progress since September, I gather? ;)
>
>
>
>
> On Wed, Sep 15, 2010 at 3:13 PM, Frank Rueter <[email protected]>wrote:
>
>> > This has been requested dozens of times for every version since 5.0
>> make that since 4 ;)
>>
>> On Sep 16, 2010, at 7:26 AM, Michael wrote:
>>
>> > As of last check (6.0v6) I still have not seen a way of acceding the
>> menu items once added, and no destroy or hide methods for them ... This has
>> been requested dozens of times for every version since 5.0, but has not
>> happened yet. 6.1 may solve this, but haven't had a chance to look.
>> >
>> >
>> >
>> > On Sep 15, 2010, at 11:56 AM, Bernhard Kimbacher <
>> [email protected]> wrote:
>> >
>> >> Hi,
>> >>
>> >> is there any way to remove a custom menu from nuke? much like the
>> addMenu() command i was hoping to find a removeMenu()
>> >>
>> >> basically i'm trying to rebuild menus based on new environment
>> variables.
>> >>
>> >> thanks!
>> >> Bernie
>> >> _______________________________________________
>> >> Nuke-python mailing list
>> >> [email protected]
>> >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>> > _______________________________________________
>> > Nuke-python mailing list
>> > [email protected]
>> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to