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.

有帮助吗?

解决方案

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()]
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top