ContextPlugin
Source | Added |
1.3.0 |
The
ContextPlugin
is used for processing an entire scene or workspace. It is typically used during the collection portion of publishing, where data is identified and encapsulated in one or more Instances, but can in general be used for any processing that doesn't require access to any particular Instance.import pyblish.api as pyblish
class MyCollector(pyblish.ContextPlugin):
order = pyblish.CollectorOrder
def process(self, context):
context.create_instance("MyInstance")
Last modified 2yr ago