mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Added reference keys docs
This commit is contained in:
parent
4bca280d25
commit
97f0d581b8
1 changed files with 5 additions and 0 deletions
|
|
@ -100,6 +100,11 @@ We have a few required anatomy templates for OpenPype to work properly, however
|
|||
</div>
|
||||
</div>
|
||||
|
||||
### Anatomy reference keys
|
||||
|
||||
Anatomy templates have ability to use "referenced keys". Best example is `path` in publish or work templates which are just referencing to `folder` and `file` (`{@folder}/{@file}`) so any changes in folder or file template are propagated to the path template. The other advantage is to simplify version and frame formatting with paddings. In default templates you can notice that keys `{@version}` or `{@frame}` are used in templates. They are referencing to `Anatomy` -> `Templates` -> `Version` or `Frame` which handle version and frame formatting with padding.
|
||||
|
||||
So if you set `project_anatomy/templates/defaults/version_padding` to `5` the `{@version}` key will be transformed to `v{version:0>5}` and version number in paths will have 5 numbers -> `v00001`.
|
||||
|
||||
## Attributes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue