Created
September 7, 2016 18:39
-
-
Save splinecraft/e136c0e11837ad74197c550109eb9db5 to your computer and use it in GitHub Desktop.
select curves demo from DK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sel=pm.ls(sl=True) | |
print sel | |
curveList = pm.keyframe(q=True, sl=True, name=True) | |
print curveList | |
control_xform = pm.selected()[0] | |
curveList = control_xform.inputs() | |
node_types = ["animBlendNodeAdditive", "animBlendNodeAdditiveDL", "animBlendNodeAdditiveRotation", "animBlendNodeBoolean", "animCurve"] | |
curveList = control_xform.inputs(type=node_types) | |
# curveList = control_xform.inputs(type=node_types, plugs=True) | |
result = control_xform.outputs() | |
print curveList | |
dir(control_xform) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment