Hello everybody,

When you press *Show->Isolate Selected->View Selected* Maya creates a set "
*modelPanelXViewSelectedSet*" and use it for filtering objects in a 
corresponding viewport.
I can get a list of objects using *M3dView::filteredObjectList()* but can't 
find a good way how to add an object into this set. Actually, I can't find 
a link between M3dView and objectSet created to filter objects.

I could compare objects in selection list from 
*M3dView::filteredObjectList()* with objects in each set in the scene to 
find what I need, but it's not an option since I need to call it 
*MPxDrawOverride::prepareForDraw()*

Any ideas?

Best Regards,

Sergei Shcherbakov

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5a4adb9f-f62f-475c-8c9f-e2d527cbbfa0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to