added review creator

This commit is contained in:
iLLiCiTiT 2020-11-02 11:43:14 +01:00
parent 37d81b0948
commit 189c72e139

View file

@ -0,0 +1,19 @@
from avalon.tvpaint import pipeline, CommunicationWrapper
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()