Plugin.actions

Associate actions with a plug-in.

Source Added
Link 1.2.0




Example

import pyblish.api

class MyAction(pyblish.api.Action):
    def process(self, context, plugin):
        self.log.info("I'm an action")

class MyCollector(pyblish.api.ContextPlugin):
    actions = [MyAction]
Fri Aug 18 2017 08:16:29 GMT+0000 (UTC)

results matching ""

    No results matching ""