GetCurrentModelTempDir

Get the current/active model's temporary directory.

Syntax

GetCurrentModelTempDir

GetCurrentModelTempDir()

current_dir = GetCurrentModelTempDir

current_dir = GetCurrentModelTempDir()

Outputs

current_dir
Current model’s temporary directory.
Type: char
Dimension: string

Example

Get the temporary directory of the model that is currently active.

current_dir = GetCurrentModelTempDir
current_dir = C:/Users/username/AppData/Local/Temp/Tempdir_1RvHJL