lira_close_model
Closes a LIRA-SAPR/FEM model, defaulting to the active one, and blocks unsaved changes unless discard_changes is true; saves read-only models before closing after backup.
Instructions
Close a model (default: the active one).
Refuses to close a model with unsaved changes unless discard_changes is true. A model the server has only read is saved before closing (after a backup) in case it was edited in LIRA's window meanwhile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| discard_changes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||