GUI - Scene Variables Editor

RealFlow uses a wide variety of default paths and folders. They are used to store preview files, access the online help documents, save simulation data, or trigger a terminal application when you work with the Command Line version. A good field of application with user-defined variables is to store random string data, e.g. paths to folders. This data can be queried with Python scripts or graphs using the “SetSceneVariable” and “GetSceneVariable“ functions and graph nodes. With this editor you have access to all of these settings and environment variables. To open it, please go to:

Tools > Scene Variables Editor

 

 

Key Column

The window is split into two parts. On the left there is the “Key” column and contains the variables' names. Thenames of the initial scene variables cannot be changed, because they are used internally by RealFlow or your operating system. User-defined variables can be edited, of course. The right part holds the values. When you take a look at it you will see that some entries are dimmed. These greyed-out values cannot be changed or deleted.

Value Column

The light-grey entries, on the other hand can be adjusted to your needs. To edit a value, just double-click on it. When you enter new paths and default locations, all simulation data will be stored in the directories and subfolders specified here. This means that you have to be very careful, in particularly with network locations or temporarily mounted drives.

Show Environment Variables

Finally, you also have the option to show your operating system's environment variables: just activate the checkbox to make this visible. This variable type is printed in italic to separate it from RealFlow's internal settings. Please bear in mind that environment variables are only listed here to give you an overview, but they cannot be edited or deleted. To do this, please take a look at your operating system's help or manual.

Environment variables are used when there is no scene variable with the same name.

Add Variable

With a click on the button an empty key-value pair is created. Type in the variable's name and content into the new slots and confirm with Enter. Only user-defined scene variables can be trashed - the rubbishbin symbol is highlighted.

OK

Click on this button to close the editor.

Cancel

When you click on this button your changes and additions will be discarded.

Tooltips

All functions and entries of the “Scene Variable Editor” provide tooltips. Just place the mouse pointer over a feature or entry and wait until the description appears.

 

When you change macros you must be sure of what you are doing, because invalid settings might have far-reaching consequences for your simulations. If you are uncertain please make sure that the default values can be restored at any time.