close_all_models#
- dlubal.api.rsection.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 rsection
with rsection.Application() as rsection_app:
rsection_app.close_all_models()
ApplicationClient? rsection_app = null;
rsection_app = new ApplicationClient();
await rsection_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.