Author Topic: python scripting; only 4 callbacks?  (Read 1184 times)

I'm working on a plugin for my company to manage versioning of the export files and did not find "beforeExport" and "afterExport" callbacks. The only four available I've seen were registerBeforeFileLoadedCallback, registerAfterFileLoadedCallback, registerBeforeFileSavedCallback and registerAfterFileSavedCallback. Have I just missed them?


There are no before / after export callbacks currently in Designer.

In Designer, sd/tools/ there is a function called exportSDGraphOutputs that can be used to
export graph outputs. If it works for your use case, you can easily execute any python code before / after calling the function.