Pregunta

I am having issues selecting all of the bindpose nodes in a scene.

How can I get them?

I am using PyMEL for this particular script.

¿Fue útil?

Solución

use

pm.ls( type = 'dagPose') 

to get all of the pose nodes in the scene. Then loop through those and check the .bindpose attribute to see if the pose node is a dag pose.

all_poses = pm.ls(type = 'dagPose') or []
bind_poses = [k for k in all_poses if k.bindPose.get()]
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top