< Previous | Contents | Manuals Home | Boris FX | Next >
โPath Remapping with Environment Variables
Larger facilities may use environment variables to locate various files, as a way to ensure consistent file locations across machines and machine types. The Flame exporter can take advantage of those. If youโve never heard of environment variables,
or donโt use them, you donโt have to bother reading this, they arenโt at all necessary, just an optional feature for those that need it. You can see what variables are defined with the โenvโ command in a terminal window.
The idea is that an environment variable such as FLAME_PROJECTS can be defined to give a file location on one machine, such as /Volumes/DATA/FlameProjects on a macOS machine, and maybe F:/FlameProjects on a Windows machine.
When the Flame exporter stores filenames, it checks them to see if they fall in any of the environment variables, and if so, saves the filename citing the environment variable and the subfolder and file within that. The receiving machine does the reverse, replacing the tags with the value of the environment variable on that machine.
This all happens behind the scenes, but you must tell SynthEyes what environment variables to look at, which is done on the โIntegrate with Flameโ control panel. Up to three environment variables can be listed, using the โEnv. Variable nameโ fields.
As a further convenience, you can define a default value, in case the environment variable is not set. This can allow you to export for a Flame artistโs environment variables, even if they arenโt set up on your own machine.
ยฉ2025 Boris FX, Inc.ย โย UNOFFICIALย โย Converted from original PDF.