ayon-core/pype/plugins/maya/create/create_model.py
2019-01-28 22:59:57 +01:00

23 lines
621 B
Python

import avalon.maya
class CreateModel(avalon.maya.Creator):
"""Polygonal static geometry"""
name = "modelDefault"
label = "Model"
family = "model"
icon = "cube"
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