There are various situations in which the model will write to the files in the working copy directory. You may, for example, have added an Export to File node (
) for a
Parametric Sweep such that, when the corresponding study is computed, export nodes in the
Model Builder tree run for different parameter values. When Model Manager detects that there are unsaved changes written by the model to the working copy directory, those changes can be saved as a new file version when the model itself is saved via the
Save window — see
Saving Models to Databases. You can also save a new file version directly via the
Auxiliary Data window — see
The Auxiliary Data Window for Database Input and Output.
You can save output to a database from nodes in the Model Builder tree with export functionality. If you have specified a database as the output target via the
Select File window, you can click an
Export button (
), or something similar, to export and save the output as a new file version.
For better control over the saved file version, you can also perform the export via the Export window. This enables you, for example, to write a custom save comment or change the tag assignments of the file. Choose the database that you want to export to in the list of options on the left. Choose
Add Database (
) if you want to add a new database.
The Export window is otherwise similar to the
Save window used to save a new model version — see
Saving Models to Databases. You can change the target branch for the export by clicking the
Location link button and selecting another branch in
The Select Location Dialog Box. The
Location link button is hidden if the database only contains a single branch, which is the default for a new database. There is also an
Information section displaying additional information concerning the saved file, a
Description section for changing the file’s description, and a
Tags section for setting the assigned tags of the file.