Difference between called via python shell and via parm callback / shelf tool?

   1215   0   0
User Avatar
Member
8 posts
Joined: Nov. 2013
Offline
Hi Houdini friends,

I'm having a pretty weird issue right now and was wondering if this is something that someone else has encountered before:

When I call a function as a callback to some button on an HDA/ shelf script, the result is different from when I directly call it in the python shell of an opened Houdini session / directly in a hython shell.

More specifically, when called as a callback, it hangs; while when called from hython it went through as expected;

The function involves some general wrapping code, that execute some houdini specific code, and it seems that any call from the hou module would hang when ran as callback.

Does anyone have similar issues before / knows more about what might be different when something is executed as parm callback vs. directly from hython? Thanks soooooo much in advance!
  • Quick Links