Skip to content

create_workfile

Creator plugin for creating workfiles.

CreateWorkfile

Bases: HarmonyAutoCreator

Workfile auto-creator.

Source code in client/ayon_harmony/plugins/create/create_workfile.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class CreateWorkfile(HarmonyAutoCreator):
    """Workfile auto-creator."""
    identifier = "io.ayon.creators.harmony.workfile"
    label = "Workfile"
    product_type = "workfile"
    icon = "fa5.file"

    default_variants = ["Main"]
    active_on_create = True

    # Placeholder node name for where we store the workfile data.
    # This does not create an actual Harmony node, but just uses this name
    # as key in the AYON Harmony scene data.
    _node_name = "__workfile__"