Is there a way to launch a serie of functions inside maya whenever an artist create a new scene (once the folder creation has been done) or save, open or publish an existsing scene with Shotgun Open/Save ?
I would like to change some basic setup (like workspace path to sourceimages, for exemple) to be sure that paths are always setuped as long as the artists use Shotgun Integration in Maya.
I tried to read the Integrations Developer Guide page ( https://support.shotgunsoftware.com/hc/en-us/articles/115000067513-Integrations-Developer-Guide#Advanced%20functionality ) but it does not explain how to querry an action in SGI, or how to link an object with an action.
In the comments, this is written:
The mapping between Shotgun objects and actions are kept in a different place (in the configuration) so at the point when this hook is called, the app has already established *which* actions are appropriate for this object.
The help page does not seem to explain much more.
Does anyone have an idea on how to do that kind of things?