create settings and doc for the custom naming of referenced assets in maya

This commit is contained in:
Thomas Fricard 2023-02-01 17:58:35 +01:00
parent 91331acc4a
commit f0a6c933ea
3 changed files with 33 additions and 0 deletions

View file

@ -1047,6 +1047,9 @@
125,
255
]
},
"reference_loader": {
"naming": ""
}
},
"workfile_build": {

View file

@ -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"
}
]
}
]
}

View file

@ -170,6 +170,19 @@ These options are set on the camera shape when publishing the review. They corre
![Extract Playblast Settings](assets/maya-admin_extract_playblast_settings_camera_options.png)
## 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**.
![Custom menu definition](assets/maya-admin_scriptsmenu.png)