set_all_turnouts
Set every turnout on the layout to the same state (all closed or all thrown) in a single call. Moves all turnout motors at once; returns lists of succeeded and failed turnouts.
Instructions
Set EVERY turnout on the layout to the SAME state (all CLOSED, or all THROWN) in one call.
Args: thrown: True to THROW every turnout, False to CLOSE every turnout. Applies this ONE state to ALL of them — NOT a "restore each turnout to its own previous/default position" operation, there is no such per-turnout memory.
Call for "close/throw all turnouts"/"tous les aiguillages en position fermée/déviée". Never loop set_turnout yourself — this loops server-side in one call over every turnout JMRI reports.
BLAST RADIUS WARNING: moves every turnout motor on the real layout at once if hardware is connected. Only call for a clear layout-wide request, not as a shortcut for one named turnout (use set_turnout for that).
Returns {"succeeded": [...], "failed": [...]}, each entry shaped like set_turnout's own return value plus "name". One turnout failing doesn't stop the rest (catch-and-continue).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thrown | Yes |