Created
October 14, 2024 15:08
-
-
Save BigRoy/fa676e8a60d069fb6716c1ffb1189fb0 to your computer and use it in GitHub Desktop.
AYON Print all pyblish publish plugins targeting a particular 'family' of the publish instance (usually also the same as the product type)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ayon_core.pipeline import registered_host | |
from ayon_core.pipeline.create import CreateContext | |
import pyblish.api | |
family = "pointcache" | |
host = registered_host() | |
context = CreateContext(host) | |
plugins = pyblish.api.plugins_by_family(context.publish_plugins, family) | |
for plugin in plugins: | |
print(f"{plugin.__name__} at order {plugin.order}: {plugin}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment