Skip to main content
Skip table of contents

DCC integration

There are no plugins needed to integrate the asset library with other third-party Digital Content Creation (DCC) tools, as long as the DCC accepts drag&drop of data from the file explorer. A simple drag&drop of assets is enough to import them into other DCCs.

Quick tips

  • set drag&drop notation to JSON data (all infos about the asset - ready to use in Python)

  • script your custom drop event handler in other DCCs

Sequence file path notation

There is not that one universal file path definition/notation for a sequence of files. When elements are being drag&dropped outside of Das Element into another software, some applications like Autodesk Flame, require a custom file path notation for dropped file sequences.

In the Gallery View you can choose what file path notation is begin drag&dropped.

To predefine this drop notation (e.g. for all users), you can set the environment variable: DASELEMENT_DND_NOTATION
Learn more about the environment variable here.

das-element_2-1_gallery_dnd-notation.png

Drop event handler

There are some cases where you want to have a more customized behavior when assets are dropped in your DCC. For example to automatically build a shader tree based on the additional texture files.

Some applications allow you to script your own drop event handlers. These are events that get triggered when you drop data into the software. This is a best way to customize the behavior of dropped assets into your DCCs.

To get all available information for an asset, choose the JSON data drop notation.
This returns a JSON formatted dictionary, ready to use in Python, with all information about that assets.
File paths, additional files, metadata, tags, first / last frames, ….

Example drop handler for Nuke

https://github.com/das-element/resources/blob/main/misc/code_snippets/nuke_custom_drop_handler.py

Useful values of the JSON data

path

File path to main element

additionals[0].path

File path to first additional file

metadata

Metadata items of element

name

Name of the element

frame_first

First frame of the sequence

frame_last

Last frame of the sequence

width

Width of the element

height

Height of the element

media_type

Info about the type of asset.
Possible values are:

image
movie
sequence
pdf
project-file
3d-model
3d-scene
generic

uuid

Unique ID of the element

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.