Hey guys, 
what I am trying to achieve is to add custom menu items to the Outliner 
window. Its easily done by this line:

> *pm.menuItem('setMenuItemA', l = 'Add Selection to Set', c = "y = 
> utm.Scenes(); y.addRemoveSetMembers('add')", p = setMenu)*


The issue is it cant be added if the outliner isnt visible in the maya 
parent window. So whenever the outliner is closed, the menu is deleted. 
To make it work, the menu has to be added everytime the outliner is called. 

I was thinking scriptjob..but couldnt find any events. Does someone have an 
idea, or a different approach?

( I dont want to alter the mel files ) 

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/368e97a4-9329-404d-b2db-e25c5d238d71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to