Samuel Bissonnette
sbissonnette
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
EventCallback - BeforeSave Sept. 21, 2018, 3:41 p.m.
hey all!
Python question:
With hou.hipFile.addEventCallback, Im using the hou.hipFileEventType.BeforeSave callback and I want to Cancel the actual Save Action under certain conditions.
How can I cancel the actual Save Action inside my callback function?
Even if Im raising an Error, it still saves the hipFile after that!
Ideally I dont want to use the beforescenesave.py.
Python question:
With hou.hipFile.addEventCallback, Im using the hou.hipFileEventType.BeforeSave callback and I want to Cancel the actual Save Action under certain conditions.
How can I cancel the actual Save Action inside my callback function?
Even if Im raising an Error, it still saves the hipFile after that!
Ideally I dont want to use the beforescenesave.py.