Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am writing a python script that adds menu items. I would like to be able to disable my menu items with they are not applicable.
I have added a postMenuCommand to my menu. In that command I am calling something like:
cmds.menuItem(name, enable=False)
Where name is that string that was returned from cmds.menuItem when the item was first created.
It look to me like attempting to disable a item after it is created doesn't work. Is there a better way to do this?
Thanks,
Chris King
Spire Animation Studios
Solved! Go to Solution.