Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: Build workfile by template #3578

Merged
merged 93 commits into from
Aug 18, 2022
Merged

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jul 27, 2022

Modified source PR. Code was moved from openpype/lib into openpype/pipeline/workfile to match refactor goals we're working on right now.

Was modified by PR which changed how placeholders work primarily because of mongo queries.

Brief description

Following discussion #2013 and resumption of work from ellipsanime #2202

Templated Build Workfile

Building a workfile using a template designed by users. Helping to assert homogeneous subsets hierarchy and imports. Template stored as file easy to define, change and customize for production needs.

1. Make a template

Make your template. Add families and everything needed for your tasks. Here is an example template for the modeling task using a placeholder to import a gauge.

maya-workfile-outliner

If needed, you can add placeholders when the template needs to load some assets. OpenPype > Template Builder > Create Placeholder

maya-create_placeholder

  • Configure placeholders

Fill in the necessary fields (the optional fields are regex filters)

maya-placeholder_new

- Builder type: Wether the the placeholder should load current asset representations or linked assets representations

- Representation: Representation that will be loaded (ex: ma, abc, png, etc...)

- Family: Family of the representation to load (main, look, image, etc ...)

- Loader: Placeholder loader name that will be used to load corresponding representations

- Order: Priority for current placeholder loader (priority is lowest first, highet last)
  • Save your template

2. Configure Template

  • Go to Studio settings > Project > Your DCC > Templated Build Settings
  • Add a profile for your task and enter path to your template

template_build_workfile

3. Build your workfile

  • Open maya

  • Build your workfile

maya-build_workfile_from_template

Testing notes:

  • Deadline should find representation resources as did (do we need that functionality?)
  • Placeholder templates should work as described above

Thomas Fricard added 30 commits June 2, 2022 15:52
@iLLiCiTiT iLLiCiTiT merged commit 93c9fb2 into develop Aug 18, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/maya-build-from-template branch August 18, 2022 08:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya type: feature Larger, user affecting changes and completely new things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants