close_all_models#
- dlubal.api.rstab.Application.close_all_models(self, *, save_changes)#
Closes all open models
- Parameters:
save_changes (bool) – Specifies whether to save changes before closing the models
Example
from dlubal.api import rstab
with rstab.Application() as rstab_app:
rstab_app.close_all_models()
using rstab = Dlubal.Api.Rstab;
using Google.Protobuf;
public class cantilever
{
public static async Task CantileverModel(Application rstab_app)
{
await rstab_app.close_all_models();
}
}
Tip
Use this function at the beginnig of your script, if creating new model is part of your routine, to prevent overriding it.