PDA

View Full Version : Remove menuItem from optionMenu!!!


azshall
11-05-2006, 08:06 PM
How do you do this?

I understand you can do menuItem -p "parentObj" -l "myItem" itemName; ... but, how the hell do you delete it or pull it from the menu if you don't want it anymore? Basically for dynamic menu updating.

I select an object and add it to my target field, when the target field changes and realizes its a mesh object it updates the optionMenu to have all the detected uv maps in it. If I change the object, I want this to reflect on the new object, etc ... Right now, I have it adding the proper maps, but getting rid of them when I do not need them is proving to be the real pain :(

Help?

Seth

azshall
11-05-2006, 09:21 PM
Figured it out... You use the deleteUI command.

CGTalk Moderation
11-05-2006, 09:21 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.