Hey Folks,
I’m looking for a way to replace or disable the ExtractSkeletonMesh Plugin in
maya. I don’t see a way to disable it in the Maya settings on the server. I’m
writing a custom extractor in another plugin to do some custom work that my
company needs. I want to be able to do this from outside of the ayon-maya add-on
to avoid having to fork it. Any help on this would be greatly appreciated.
Currently, AYON applies plugins’ settings automatically if settings are placed in the correct heirarchy.
e.g.
if ExtractSkeletonMesh
is added below publishers
category ayon+settings://maya/publish
you won’t need to modify the code of ExtractSkeletonMesh
plugin.
Alternatively, when the setting lives else where, you’d need to implement apply_settings
in the ExtractSkeletonMesh
plugin e.g. this validator in houdini that reads settings from a creator plugin.
I believe your best solution to contribute to the official ayon-maya addon to add the setting.
Ok, that all sounds pretty good. The validator gives me a few other ideas, but I’ll go ahead and add the setting in and get a PR submitted.
Thanks for the insight
Just adding to this - that is true if the plug-in has the settings_category
attribute set, e.g. to "maya"
as is done on the MayaInstancePlugin
or alike.
1 Like