Saving and Loading Expressions

 
 
 

You can save the current contents of the expression editing pane as a file then load it back later on other parameters. Expressions are saved as plain text files with an extension of .expr2. By default, they are saved in the Expressions folder of the current project.

As well, you can save and load expression presets.

NoteExpressions are not validated when saving — the contents of the editing pane are written as is to file. Similarly, expressions are not validated when opening — the contents of the editing pane are replaced with the contents of the .expr2 file.

To save the contents of the editing pane in an expression file

Choose one of these commands from the expression editor's File menu:

  • Save — If you have already opened or saved an expression file, it is overwritten on disk with the current contents of the editing pane. Otherwise, you are prompted for a file name as with Save As.

    or

  • Save As — A browser opens, prompting you for a file name and directory.

To open a saved expression file

Choose File Open in the expression editor, then use the browser to select the desired .expr2 file.

To save an expression preset

  1. In the explorer, expand the parameter whose expression you want to save as a preset.

  2. Click the Expression operator icon to open its property editor.

  3. In the property editor, click the Preset icon, then choose Save Preset from the menu to open the browser.

  4. Enter a name and location for the preset.

    TipYou can edit the Definition and save numerous versions of this expression as presets.

To load a preset

  1. Select the parameter to which you want to apply a preset.

  2. Click its Expression operator icon to open its property editor.

  3. In the property editor, click the Preset icon, then choose Load Preset from the menu to open the browser.

  4. Select a preset from the browser.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License