mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
create settings and doc for the custom naming of referenced assets in maya
This commit is contained in:
parent
91331acc4a
commit
f0a6c933ea
3 changed files with 33 additions and 0 deletions
|
|
@ -1047,6 +1047,9 @@
|
|||
125,
|
||||
255
|
||||
]
|
||||
},
|
||||
"reference_loader": {
|
||||
"naming": ""
|
||||
}
|
||||
},
|
||||
"workfile_build": {
|
||||
|
|
|
|||
|
|
@ -91,6 +91,23 @@
|
|||
"key": "yetiRig"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "dict",
|
||||
"collapsible": true,
|
||||
"key": "reference_loader",
|
||||
"label": "Reference Loader",
|
||||
"children": [
|
||||
{
|
||||
"type": "text",
|
||||
"label": "Naming",
|
||||
"key": "naming"
|
||||
},
|
||||
{
|
||||
"type": "label",
|
||||
"label": "Here's a link to the doc where you can find explanations about customing the naming of referenced assets: https://openpype.io/docs/admin_hosts_maya#load-plugins"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -170,6 +170,19 @@ These options are set on the camera shape when publishing the review. They corre
|
|||
|
||||

|
||||
|
||||
|
||||
## Load Plugins
|
||||
|
||||
### Reference Loader > Namespace
|
||||
Here you can create your own custom naming for the reference loader. <br>
|
||||
The custom naming is split into two parts separated by a ":" symbol. The first half is the namespace and the second half is the group name of the reference. If you don't set the namespace or the group name (or both), the default namespace and group name will be applied.
|
||||
Here's the different variables you can use: <br>
|
||||
Asset name: {asset[name]} <br>
|
||||
Asset type: {asset[type]} <br>
|
||||
Subset name: {subset[name]} <br>
|
||||
Subset family: {subset[data][family]} <br>
|
||||
Example: {asset[name]}_{subset[name]}:GRP
|
||||
|
||||
## Custom Menu
|
||||
You can add your custom tools menu into Maya by extending definitions in **Maya -> Scripts Menu Definition**.
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue