Skip to content

load_volume

LoadVolume

Bases: Cinema4DSingleObjLoader

Load VDB to Volume Loader.

Source code in client/ayon_cinema4d/plugins/load/load_volume.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class LoadVolume(plugin.Cinema4DSingleObjLoader):
    """Load VDB to Volume Loader."""

    color = "orange"
    product_types = {"*"}
    icon = "cloud"
    label = "Load VDB to Volume Loader"
    order = -10
    representations = {"vdb"}

    @property
    def _node_type_id(self) -> int:
        return 1039866  # Volume Loader ID

    @property
    def _filepath_attribute(self):
        return c4d.ID_VOLUMESEQUENCE_PATH