Add actions in the builder template

Please describe the feature you have in mind and explain what the current shortcomings are?

Add the ability to perform actions during construction with workfile template builder.

What is an action

An action is a plugin (like a loader) that is used to execute code.

Actions Type

Workfile Template Builder Actions

This Plugin/Code is executed at the build moment, two possibilities pre or post build.

Placeholder Actions

This plugin/Code is executed when processing a placeholder, the only possibility after processing.

Example

Workfile Template Builder Actions

The keep_placeholder option in the workfile template builder would be a post build action. It will remove placeholders like today. These actions would be listed in the settings of workfile template builder to enable them.

Workfile Template Builder Actions

In a scene with two placeholders, the first loads the model of an asset and the second loads the look of the asset. In this case the look is not applied. An action added to the placeholder will add the look to the model.

I think the post-build actions is basically what we want to do with the connector plugins.

Pre-build actions might need their own category. It would be great to find more use cases of pre-build actions outside of workfile building, so we can figure out if there is a need for a more universal actions.

I couldn’t find a use case for prebuild, one comes to mind now. Maybe to download files published with sitesync?

Maybe we can get the use-cases from the workfile builder and eventually spin out the pre-build actions to their own category. Pre-build actions might need to initially be specific to workfile builder then.