I'm using a callback script for myFirstParameter that calls myFunction(parm) in the Python Module.
the callback script goes like:
hou.phm().myFunction(kwargs["parm"])
When you later update the new parameter with a custom name “mySecondParameter”, Houdini seems to automatically update the callback script function in the very first parameter. Now the callback is:
hou.phm().myFunction(kwargs["mySecondParameter"])
And when you use myFirstParameter you would get the error: Error running callback: Traceback (most recent call last):
File “<stdin>”, line 1, in <module> KeyError: ('mySecondParameter',)
Does it look like a bug or is that the natural behavior of how things should go?
Can you reproduce it?