mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
template project anatomy loaded from Templates
This commit is contained in:
parent
a223bf69bb
commit
197b965a94
1 changed files with 3 additions and 6 deletions
|
|
@ -355,12 +355,9 @@ def get_avalon_project_template():
|
|||
"""
|
||||
template = Templates(type=["anatomy"])
|
||||
proj_template = {}
|
||||
proj_template['workfile'] = '{asset[name]}_{task[name]}_v{version:0>3}<_{comment}>'
|
||||
proj_template['work'] = '{root}/{project}/{hierarchy}/{asset}/work/{task}'
|
||||
proj_template['publish'] = '{root}/{project}/{hierarchy}/{asset}/publish/{family}/{subset}/v{version}/{projectcode}_{asset}_{subset}_v{version}.{representation}'
|
||||
# TODO this down should work but it can't be in default.toml:
|
||||
# - Raises error when App (e.g. Nuke) is started
|
||||
# proj_template['workfile'] = template.anatomy.avalon.workfile
|
||||
# proj_template['work'] = template.anatomy.avalon.work
|
||||
# proj_template['publish'] = template.anatomy.avalon.publish
|
||||
proj_template['workfile'] = template.anatomy.avalon.workfile
|
||||
proj_template['work'] = template.anatomy.avalon.work
|
||||
proj_template['publish'] = template.anatomy.avalon.publish
|
||||
return proj_template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue