Hey guys. Im having trouble using python in an HDA that I'm sending over to Maya. I've attached a simple example HDA to set parameters using a callback script (button). Works like a charm in Houdini, but on the Maya side I need to hit my ‘Execute’ button, reset simulation, reload asset, sync asset until eventually the field updates to the correct value. Sometimes it works, other times it bugs out, and other times still it seems like it works but has a refresh issue. Any thoughts?
Maya 2014
Houdini Engine 14.0.430
Callback Script:
hou.pwd().hdaModule().setInitFrame()
Script:
import hou
def setInitFrame():
me = hou.pwd()
me.setParms({“initFrame”: 736})