Skip to content

create_layout

CreateLayout

Bases: MayaCreator

A grouped package of loaded content

Source code in client/ayon_maya/plugins/create/create_layout.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class CreateLayout(plugin.MayaCreator):
    """A grouped package of loaded content"""

    identifier = "io.openpype.creators.maya.layout"
    label = "Layout"
    product_type = "layout"
    icon = "cubes"

    def get_instance_attr_defs(self):

        return [
            BoolDef("groupLoadedAssets",
                    label="Group Loaded Assets",
                    tooltip="Enable this when you want to publish group of "
                            "loaded asset",
                    default=False)
        ]