lira_set_loads
Replace loads in a saved LIRA-SAPR model for selected load cases or all loads, rebuilding and verifying tables before overwriting the file with a backup.
Instructions
Replace loads of a saved model: of load_cases only, or all loads when omitted.
loads: [{case, target, type, direction, values}] as returned by lira_read_loads. LIRA has no API for loads, so the server rebuilds the model through LIRA's text format, copies every input table back, verifies tables and loads, and only then overwrites the file (after a backup). If verification fails, nothing changes. Models whose combination norms differ from those LIRA gives a model rebuilt from text are refused: the rebuild would change their load case kinds. Data that is neither in input tables nor in the text format cannot be verified: check the model in LIRA after this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loads | Yes | ||
| model | No | ||
| load_cases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||