Skip to content

Avalon callbacks

Roy Nieterau edited this page Dec 15, 2019 · 3 revisions

Avalon Callbacks

Using avalon.api.on("save", fn) or open, new, you can set up callbacks for specific moments a Host will be doing something, for example saving or opening a scene or creating a new scene.

You can see some being installed in our configuration for Maya here (*note that it has avalon.api imported as avalon)

Examples

Some examples of that in the Colorbleed config can be found here: