문제

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