mike_set_values
Set parameter values for selected MIKE+ elements by MUID, mutating the database. Returns before/after rows. Always use on a copy to avoid data loss.
Instructions
Set parameter values in a MIKE+ table for specific element MUIDs (e.g. change a pipe Diameter or Manning roughness). Returns before/after for the affected rows. MUTATES the database — ALWAYS use a copy. Needs MIKE+ + license. Pass 'muids' to scope the change; set all=true only when you intend to change every row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sqlite | Yes | ||
| table | Yes | ||
| values | Yes | Column-value pairs to set, e.g. {"Diameter": 0.4}. | |
| muids | No | Element ids to update. | |
| all | No | Update ALL rows (only if muids omitted). Use with care. |