File access¶
Command: set_dir(dirname)
Sets the directory for all file types (I7, ISA7, FSL, MC, MCV ..)
- Parameter
dirname Directory name
Command: set_dir_by_type(dirname, typename)
Sets the directory for a given file type
- Parameter
- dirname Directory nametypename Typename: i7, isa7, fsl, mc, mcv, poc
Command: new_model_force(filename, comment)
Create new model file (A7, I7 or AUX7, ISA7).
Existing files are overwritten without warning.
- Parameter
- filename Filename without extensioncomment Comment
Command: save_model(mode, fmt)
Save the data in the model file.
- Parameter
- mode
- “close” Close the model after saving“cont” Continue working after saving
- fmt (optional)
- “I7”, “ISA7”, “i7”, “isa7” save in I7/ISA7 format also (since Version 9.2)
Example
save_model("close")
save_model(close) deprecated version
Command: load_model(filename)
Load an existing model data file (A7, I7 bzw. AUX7, ISA7) or a MSH file (Gmsh Format 2.2)
- Parameter
filename File name without extension or with extension .msh
Command: read_msh(filename)
Load an existing MSH file (Gmsh Format 2.2)
- Parameter
filename File name with extension .msh
Command: new_model(filename, comment)