ayon-core/pype/plugins/maya/create/create_model.py
2019-07-09 16:43:56 +02:00

24 lines
674 B
Python

import avalon.maya
class CreateModel(avalon.maya.Creator):
"""Polygonal static geometry"""
name = "modelMain"
label = "Model"
family = "model"
icon = "cube"
defaults = [ "_MD", "_HD", "_LD", "Main", "Proxy",]
def __init__(self, *args, **kwargs):
super(CreateModel, self).__init__(*args, **kwargs)
# Vertex colors with the geometry
self.data["writeColorSets"] = False
# Include attributes by attribute name or prefix
self.data["attr"] = ""
self.data["attrPrefix"] = ""
# Whether to include parent hierarchy of nodes in the instance
self.data["includeParentHierarchy"] = False