Previous Next


SaveFile Method (RDKApplication Object)

Description

Save the current model and results into a file.

Syntax

object.SaveFile(fileName as String,Optional modelDefOnly as Boolean)

Arguments

fileName (Required String) – the name of the file to save the model and results. While you are free to use any file extension you wish, we recommend you the ".rdk" extension for files you save that have simulation result information. Use an ".rdm" extension for files that only contain model information.

modelDefOnly (Optional Boolean) – if set to TRUE, indicates that only the model definition is saved to disk, with no simulation results.

Return Value

None.

Example

RDKApp.SaveFile "C:\MyFile.RDK"