mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
19 lines
503 B
Python
19 lines
503 B
Python
from avalon.tvpaint import pipeline
|
|
|
|
|
|
class CreateReview(pipeline.TVPaintCreator):
|
|
"""Arnold Archive"""
|
|
|
|
name = "review"
|
|
label = "Review"
|
|
family = "review"
|
|
icon = "cube"
|
|
defaults = ["Main"]
|
|
|
|
def process(self):
|
|
instances = pipeline.list_instances()
|
|
for instance in instances:
|
|
if instance["family"] == self.family:
|
|
self.log.info("Review family is already Created.")
|
|
return
|
|
super(CreateReview, self).process()
|