Code Snippet: Get geometry index on deformer

I needed a way to get the geometry index on a deformer based on the deforming shape name. Rather than trying to trace the connections in the dependency graph, Maya’s API has a much easier and faster method. This is also better than using the deformer command for the information since the command does not support returning full path names for comparison. So I thought I would share it to anyone who may want to add it to their own collection of tools.

 

About the author: Scott

Leave a Reply

Your email address will not be published.Email address is required.