Custom Actions in loader

(How) is it possible to add a custom Action to a DCCs Loader context menu? (Houdini for example)

image

Hello Tobias,

You can achieve that by implementing a loader plugin.
Here are some examples:

These are some actions. Notice they don’t actually load any thing in the scene but they still inherit plugin.HoudiniLoader

This loads FBX representations to the scene.

1 Like

You will most likely want to expose them as separate addon to not to have your own fork of ayon-core.

Your addon can contain logic where these loader plugins will appear (in which hosts), see ayon-openrv/client/ayon_openrv/addon.py at 723463e97fc37332f0c5f2872c1b5f4ca2b460cb · ynput/ayon-openrv · GitHub for inspiration.

1 Like