Hi! As you know to create chop pose from current selected controls you must choose in Motion Effects menu Create Pose and if parms are scoped everything works fine.
But when I call this script from digital asset houdini gives me an error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "opdef:/Object/facial_animation_rig?PythonModule", line 4, in addPose
KeyError: ('parms',)
Button in digital asset by this code...
hou.pwd().hdaModule().addPose()
...call this function:
def addPose():
import choptoolutils
parms = kwargs['parms']
choptoolutils.createPose(parms)
What I'm doing wrong?