Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
不要なBindPoseを削除する
import pymel.core as pm
def deleteUnusedBindPose():
dagPose = pm.ls(type="dagPose")
for i in dagPose:
clstr = i.listConnections(type="skinCluster")
if len(clstr) == 0:
pm.delete(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.