Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPxComponentShape and VP2 Isolate Selection of Faces

0 REPLIES 0
Reply
Message 1 of 1
bradley_henke
100 Views, 0 Replies

MPxComponentShape and VP2 Isolate Selection of Faces

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report