=============== **File access** =============== .. admonition:: Command: set_dir(*dirname*) Sets the directory for all file types (I7, ISA7, FSL, MC, MCV ..) **Parameter** :red:`dirname` Directory name .. admonition:: Command: set_dir_by_type(*dirname, typename*) Sets the directory for a given file type **Parameter** | :red:`dirname` Directory name | :red:`typename` Typename: i7, isa7, fsl, mc, mcv, poc .. admonition:: Command: new_model(*filename, comment*) | Create new model file (A7, I7 or AUX7, ISA7) | Existing files will not be overwritten **Parameter** | :red:`filename` Filename without extension | :red:`comment` Comment .. admonition:: Command: new_model_force(*filename, comment*) | Create new model file (A7, I7 or AUX7, ISA7). | Existing files are overwritten without warning. **Parameter** | :red:`filename` Filename without extension | :red:`comment` Comment .. admonition:: Command: save_model(*mode*) Save the data in the model file. **Parameter** :red:`mode` | *close* Close the model after saving | *cont* Continue working after saving **Example** :: save_model("close") save_model(close) deprecated version .. admonition:: Command: load_model(*filename*) Load an existing model data file(A7, I7 bzw. AUX7, ISA7) **Parameter** :red:`filename` File name without extension