Read the model for CS 454 moving loads
cs454_moving_loads_readRead-only: changes nothing in the model. Call it before cs454_moving_loads to see what the CS454 - Moving Load Wizard would do. Returns: existing (the lanes, vehicles, cases and groups already in the model, each marked if an earlier cs454_moving_loads run created it); laneKindSuggestion (LINE for beams, SURFACE for plates); deckRead (reference girder or plate edge, width, kerb offset, cross-beam group, skew — narrowed by deckFilter, reversed by trafficOtherWay); the lanes and cases the given settings would produce; config (the plugin's own settings file — pass it back as configFile); options (valid loadings, vehicles and Irish Rail trains). Takes the same inputs as cs454_moving_loads; the write permissions (codeChange, unitSwitch) only change which blockers are listed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cs454_moving_loads_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | No | Lane options. picked — Loadings to lay out: M1S (ALL model 1 single), M1C (convoy), M2 (ALL model 2), FW (footway), ACC (accidental), SV / HB (routes alone), SVM1S / SVM1C / SVM2 (SV with ALL), HBM1S / HBM1C / HBM2 (HB with ALL). Also level, packing, svVehicle, svPlacement, svStraddle, actualLanes, prefix… | |
| config | No | Advanced: any other plugin configuration field, deep-merged over the settings. | |
| section | No | Carriageway cross-section, m: width, kerbOffset, verges, footways, central reserve… width/kerbOffset are read from the deck if omitted. | |
| surface | No | Surface lanes: the alignment. mode GROUP (group), NODES (nodes) or RANGE (range). | |
| laneKind | No | Default: what the model suggests (beams -> LINE, plates -> SURFACE). | |
| readDeck | No | Read the reference line / alignment, width, kerb offset, cross beams and skew from the deck (default on, off over a loaded settings file). | |
| vehicles | No | Vehicle options: levels (NORMAL, T26, T18, FE1, T7_5, FE2, T3; lower levels stacked in), allModel1, allModel2, svTypes (e.g. ["SV 80", "SV 100"]) and hbUnitsList (e.g. [30, 45]) — every one crossed with every ALL vehicle — svSpeeds, limitStates, envelopes ({ family: true|false }: envelope load combinations, one per family; combinations on by default), fireEngines, customVehicles… | |
| reference | No | Line lanes: the reference line. mode RANGE (range: element ids e.g. '1-10'), GROUP (group), or NODES (nodes: [ids], shape). | |
| codeChange | No | A permission for the write tool. Here it only changes which blockers are listed — this tool never writes. Accepted so the same inputs serve both tools. | |
| configFile | No | The plugin's own Export JSON settings file (or its "config"), as text or object: starts from those settings instead of the defaults. The deck is then not re-read unless readDeck: true. | |
| deckFilter | No | Read the deck only from these members, as the plugin's Show only: group (structure group name), section ("S:<id>" beam section or "T:<id>" plate thickness), zMin / zMax (level band, m). | |
| laneSource | No | NEW shows the lanes the settings would lay out; EXISTING shows the lanes already in the model. | NEW |
| unitSwitch | No | A permission for the write tool. Here it only changes which blockers are listed — this tool never writes. Accepted so the same inputs serve both tools. | |
| writeOptions | No | Lane write options the write tool would use (loadDist, groupName, moving, skewStart/skewEnd); here they only shape the lanes shown. | |
| irishRailTrains | No | Add Irish Rail CCE-STR-PSD-008 trains as user-defined vehicles: true for all, or a list of train ids / names (cs454_moving_loads_read options). | |
| trafficOtherWay | No | Read the deck the other way round (the plugin's "Traffic runs the other way"). |