0

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.

4

1 回答 1

1

利用

pm.ls( type = 'dagPose') 

获取场景中的所有姿势节点。然后遍历这些并检查 .bindpose 属性以查看姿势节点是否为 dag 姿势。

all_poses = pm.ls(type = 'dagPose') or []
bind_poses = [k for k in all_poses if k.bindPose.get()]
于 2013-10-24T16:57:45.313 回答