register_host
register_host
Functions
Description
Example
from pyblish import api
class CollectObjectSets(api.ContextPlugin):
"""Collect things only Maya would know"""
order = api.CollectorOrder
hosts = ["maya"]
def process(self, context):
from maya import cmds
for objset in cmds.ls(type="objectSet"):
context.create_instance(objset)Last updated