Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

Variables.env file

In the Users home directory there is a file called: variables.env
This file will be read before the software start. Add all the environment variables you need in that file.

Linux / MacOS

~/.das-element/variables.env

Windows

%homepath%/.das-element/variables.env


Any environment variables set globally on your operating system will be overwritten by the variables in the variables.env file.

It is possible to use other environment variables in the values for the environment variables below:

Example:
export CURRENT_PROJECT=awesome_project
export DASELEMENT_CONFIG_PATH=/mnt/server/{CURRENT_PROJECT}/config/das-element.conf

List of available environment variables

variable

description

DASELEMENT_LICENSE

alternatively this can be used:
RLM_LICENSE

point to the license server
Pattern: {port}@{hostname}
Example 5053@vfx-license
default Port: 5053

DASELEMENT_LICENSE_TYPE

starts a local license server if variable is set to local
Will search for license files in:
Linux / MacOS: ~/.das-element/license
Windows: %homepath%/.das-element/license
options: local

DASELEMENT_LOG_LEVEL

set the logging level (default: info)
options: debug | info | warning | critical

DASELEMENT_API_HOST

address to the API server (default: 127.0.01)

DASELEMENT_API_PORT

port to connect to the API server (default: 1810)

DASELEMENT_CACHE_HOST

address to the cache server (default: 127.0.01)

DASELEMENT_CACHE_PORT

port to connect to the cache server (default: 6379)

DASELEMENT_CONFIG_PATH

file path to the config file (.conf)
Example: /mnt/server/das-element.conf

DASELEMENT_RESOURCES

directory path to the resources folder, for presets, hooks, etc.
Example: /mnt/server/shared_folder/das-element_resources

DASELEMENT_HOOKS

directory path to hook files
This will be prioritized over hook files in the resources folder Example: /mnt/server/{CURRENT_PROJECT}/config/hooks

DASELEMENT_HIERARCHY

directory path to hierarchy file. A file called hierarchy.json must be located inside that directory.
This will be prioritized over hierarchy file in the resources folder
Example: /mnt/server/{CURRENT_PROJECT}/config/custom_hierarchy

DASELEMENT_THIRD_PARTY_DIR

directory path to third-party folder where the tools like ffmpeg and redis are located. These third party tools already come with the install of the software.
Example: /mnt/server/shared_folder/das-element/third-party

DASELEMENT_MODEL

file path to wit file (machine learning model)
Example: /mnt/server/das-element_vfx-element_1.0.wit

DASELEMENT_WORKER

set number of workers (not for lite version)
Even if set to 0, the software will always start at least one worker to communicate with the database.

DASELEMENT_DND_NOTATION

Valid values:

  • folder

  • files

  • hashtag

  • percent

  • flame

set the file path 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.

default/fallback: folder
This will choose the parent folder of the elements main files: /some/folder

List of all file paths for each frame of the sequence:
/some/folder/files.1001.exr, /some/folder/files.1002.exr, ...

Hashtag notation: hashtag
/some/folder/files.####.exr

Hashtag notation: hashtag_frames - works for Nuke
/some/folder/files.####.exr 1001-1002

Printf percentage notation: percent
/some/folder/files.%04d.exr

Autodesk Flame
Flame requires this notation for file sequences
/some/folder/files.[1001-1002].exr
If a process is running with the name 'flame' the software will automatically choose this notation.
To force this notation set the env value to flame
export DASELEMENT_DND_NOTATION=flame

DASELEMENT_TEMP_KEEP_DAYS

Number of days that temp preview files are keep in the temp folder.
default: 14 days

RLM_CONNECT_TIMEOUT

license server connection timeout
default: 5 seconds

List of environment variables that are read-only (can’t be overwritten)

variable

description

DASELEMENT_ROOT

resolves to the location of the installed software version
Example:
/resources/.das-element/opt/das-element-x.x.x/resources/.das-element

  • No labels