MPxComponentShape and VP2 Isolate Selection of Faces

MPxComponentShape and VP2 Isolate Selection of Faces

bradley_henke
Enthusiast Enthusiast
194 Views
0 Replies
Message 1 of 1

MPxComponentShape and VP2 Isolate Selection of Faces

bradley_henke
Enthusiast
Enthusiast

I've inherited an MPxComponentShape and I'm needing to support isolate selection of its components when drawing in VP2 with an MPxSubSceneOverride. I've been able to get a hold of the M3dView of the panel, and use M3dView:filteredObjectList() to get a selection list containing the dag paths which are not filtered. However, in the process I've realized that my selected components are not being returned by the filter.

 

I'm suspicious that this is because I'm not currently able to add components to a maya object set. I've noticed that a new set appears "modelPanel4ViewSelectedSet" when I press the isolate select button, and I've also noticed that I cannot manually add my components to a object set with a mel command. 

 

Are my intuitions correct? If so, what is the very minimum required from an MPxComponentShape to support adding faces to an object set?

0 Likes
195 Views
0 Replies
Replies (0)