Created
July 5, 2016 21:45
-
-
Save AndresMWeber/2301f8f024d2cf8bea6d6cecd0c7ff53 to your computer and use it in GitHub Desktop.
Boiler plate function for SDK creation
This file contains hidden or 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
def connect_sdk(driverAttr, drivenObj, attribute, driverValues=[], drivenValues=[]): | |
for driverValue, drivenValue in zip(driverValues, drivenValues): | |
pm.setDrivenKeyframe(drivenObj, | |
currentDriver=driverAttr, | |
at=attribute, | |
driverValue=driverValue, | |
value=drivenValue) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment