diff --git a/client/ayon_houdini/api/pipeline.py b/client/ayon_houdini/api/pipeline.py index 337e24c4a4..f0f4d3db99 100644 --- a/client/ayon_houdini/api/pipeline.py +++ b/client/ayon_houdini/api/pipeline.py @@ -243,6 +243,7 @@ def containerise(name, "namespace": namespace, "loader": str(loader), "representation": context["representation"]["id"], + "project_name": context["project"]["name"] } lib.imprint(container, data) @@ -285,6 +286,13 @@ def parse_container(container): pass data[name] = value + # Support project name in container as optional attribute + for name in ["project_name"]: + parm = container.parm(name) + if not parm: + continue + data[name] = parm.eval() + # Backwards compatibility pre-schemas for containers data["schema"] = data.get("schema", "openpype:container-1.0")