    

 ## On this page

  

 

 # setSaveWithModel

 Last update: 30.07.2026 

public [setSaveWithModel](set-save-with-model.md)(flag: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))

Sets a flag indicating that the value of the file should be saved with the model. The flag only applies to output files.

#### Parameters

flag#### Throws

[ModelCenterException](./../-model-center-exception/index.md)