Jump to content

Event Callbacks in Houdini


paxsonsa

Recommended Posts

yeah, you can kind of do some things by hijacking others.  like 456.py runs after you load a file.  atexit() runs when you close.  there are all sorts of parm and operator related events that could theoretically be used to mimic a real event system, but ideally they'd just implement one for reals.

 

hell, even a 789.py that runs when you save would be awesome.

 

edit: i suppose you could register all nodes to react to all events and check the status of the hipFile.hasUnsavedChanges() flag combined with the file path to detect saves and react to those.  but again, do we really have to resort to such hackery?

Edited by fathom
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...