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
22
23
24
25
26
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),
            BoolDef("allowObjectTransforms",
                    label="Allow Object Transforms",
                    tooltip="Enable this when include all the transform data"
                            "of objects"
                    )
        ]