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: 

How to efficiently get indices of modified vertices

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
mcw0
665 Views, 3 Replies

How to efficiently get indices of modified vertices

I can query the number of modified vertices with "getAttr -s meshShape.pnts".  But is there a way to get the indices?

3 REPLIES 3
Message 2 of 4
olarn
in reply to: mcw0

Like this?

print pm.PyNode("meshShape").pnts.getArrayIndices()

It's in pymel but you get the idea. 

Message 3 of 4
mcw0
in reply to: olarn

Thank you.  I'll see if that's possible in Mel.  Or I really should jump onto the Py... wagon.

Message 4 of 4
mcw0
in reply to: mcw0

"getAttr -multiIndices"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

If I only learn to read ALL of the documentation!

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

Post to forums  

Autodesk Design & Make Report