Python function in HDA won't run inside Cinema4D

   658   1   0
User Avatar
Member
1 posts
Joined: June 2019
Offline
I've added a PythonModule to my HDA, and I have a button with a callback running hou.phm().myFunc(kwargs). Pressing the button in Houdini executes the function as expected. Pressing the button inside of Cinema4D appears to do nothing.

The HDA works fine other than this one aspect. I can make changes to other parts of the HDA and see them update inside of C4D.

Is there a way to enable debugging options inside of C4D? I read the documentation but did not see anything.

I'm running R21.207 on Windows 10
User Avatar
Member
1 posts
Joined: Feb. 2021
Offline
Thank you very much for your Tools. Helped me a lot to understand Python.
I tried to use your time tools (gotoframe, timeadvance) in one of my scripts, they worked well but the changes made at the specific time points didn't update. I asked in the c4d community and there I was advised to use
doc.ExecutePasses(None, True, True, True, 0) for time changes. shareit [get-shareit.com] get-vidmateapk.com [get-vidmateapk.com]
  • Quick Links