Search - User list
Full Version: HDA callback script for button in multiparm (blocklist)
Root » Technical Discussion » HDA callback script for button in multiparm (blocklist)
davidless
Hi

How can I get get the id for the specific multiparm entry in the HDA module, when the corresponding button in the multiparm blocklist is being pressed?

IE. How do I set up the callback script on the buttons for this to work? I have attached an example image.

Cheers
krueger
What I just tried that worked was in the PythonModule section, have my function expect the kwargs argument that Houdini can pass.

def printParm( kwargs ):
    print kwargs
    print kwargs["parm"]
    print kwargs["parm_name"]

Then in the Callback Script for your submit# parm put:
hou.phm().printParm( kwargs )
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB