From d38df643a837ecc47c86362421ae85ee7c635e4f Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 4 Mar 2020 17:39:57 +0100 Subject: [PATCH] added build first workfile (probably for testing) --- pype/lib.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pype/lib.py b/pype/lib.py index 4e7d88947d..0698e2bbba 100644 --- a/pype/lib.py +++ b/pype/lib.py @@ -1238,3 +1238,12 @@ def create_first_workfile(file_ext=None): host.save_file(workfile_path) return workfile_path + + +def build_first_workfile(file_ext=None): + # DEBUG this should probably be host specific + # Create workfile + workfile_path = create_first_workfile(file_ext) + # Load containers + loaded_containers = load_containers_for_workfile() + return (workfile_path, loaded_containers)