MikeRhone Posted January 12, 2016 Share Posted January 12, 2016 Please forgive the x-post from the sideFX forums, maybe the ODForce scripting gurus can help me out - 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 2014Houdini Engine 14.0.430Callback Script:hou.pwd().hdaModule().setInitFrame()Script:import houdef setInitFrame():me = hou.pwd()me.setParms({"initFrame": 736}) mrhoneSetparmExample.hda Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.