Re: [Maya-Python] Check and grab the latest value of a certain condition using dictionary

2017-07-11 Thread Alok Gandhi
> > True. Although imagine that the model data is likely to have more fields > than just a status. It seems it would become difficult to support this > model when it contains other types of info. Otherwise you would have to > maintain this as an additional "index" model, and keep it up to date when

[Maya-Python] Maya API: get an objectSet used for filtering objects on camera

2017-07-11 Thread Serge Scherbakov
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 objec