- Edit the related schema. For example:
openpype\settings\entities\schemas\projects_schema\schemas\schema_maya_publish.json
- Run
run_settings
script - Save the defaults.
- Re-run tray.
For example this could be added to make it possible to disable the ExtractModel
plug-in
{
"type": "schema_template",
"name": "template_publish_plugin",
"template_data": [
{
"key": "ExtractModel",
"label": "Extract Model (.mayaAscii)"
}
]
}
What's the recommended way to register them and where should I put those?
Jakub Trllo (Pype.Club):
Currently there are 2 options:
- add them to zips into defaults actions folder
- create OpenPype addon which can return path to actions in collect_plugin_paths
I would say that addon is better. But there is not currently way how to automatically deploy addons with zip so all workstations must have access to the addons path.
addons path can be set in system settings
modules/addon_paths
Note:
openpype/modules
is not dynamically loaded but using explicit loadingopenpype/modules/default_modules
is currently dynamically loaded but that should change when we move all modules out of there. Other way how to load addons dynamically is with setting path to directory where addons are in system settingsmodules/addon_paths
Implement a "Explore Here" launcher action
Allow opening the browser to the folder of where you've currently browsed in the launcher.
Here's an example on how to expose this to the launcher with an OpenPype module addon.