Accessing Capture Bones in Python

   1382   0   1
User Avatar
Member
2 posts
Joined: 10月 2012
Offline
I'm attempting to write a script in Python that accesses the bones associated with a mesh. I thought to do this by looking at the ‘pCaptPath’ as described in this thread [sidefx.com], however that attribute no longer seems to be generated by capture SOPs.

Is there an alternate way to access it? A new way to find the same information perhaps?

I did look at the ‘pCaptSkelRoot’, but it only has a single string representing the root of the skeleton. I'd prefer not to have to write code to search through the whole hierarchy looking for bones if I can avoid it.

Any suggestions? Thanks!
  • Quick Links