Hi, I am learning programming in houdini, I started with python. I have a call callback script connected with a toogle button in a HDA. It is resposible for create the node,s color when I change the check the toggle button. It just works fine as expected but when I undo, it just changes the color of the node but not revert the toggle button. Inorder to reset the toggle I have to undo it once again.
Technically it will work with a single undo in other softwares. Is there any other workflow that I am missing. Please share your thoughts in it. I have attached the screenshot of the script and I atteached a video that explain about the problem
Thanks