Read the model for Eurocode moving loads
ec_moving_loads_readUse before ec_moving_loads. For CS 454 traffic use cs454_moving_loads_read. Read-only: changes nothing in the model. Call it before ec_moving_loads to see what the Eurocode - Moving Load Wizard would do. Returns: existing (the lanes, vehicles, cases and groups already in the model, each marked if an earlier ec_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, lane roles and cases the given settings would produce; config (the plugin's own settings file — pass it back as configFile); options (valid load groups, vehicles, Irish NA road vehicles and Irish Rail trains). Takes the same inputs as ec_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": "ec_moving_loads_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | No | Lane options: prefix (default EC), wheelSpace, optimiseNotional / allowWidth, lm2Manual / lm2Centre, sv / svCentre / svWidth (LM3 route), tracks { tracks, firstTrack, spacing, gauge }, userLanes. Where the notional lanes and the remaining area sit: placements, a list of { packing: LEFT (lanes against the low-offset kerb, the default) | RIGHT (high-offset kerb) | BETWEEN with remBetween k (remaining area between lanes k and k+1) | OFFSET with blockOffset m (lane block that far from the low-offset kerb, remaining area split into REM and REM 2) }, and sweep { on, from, to, step } (the lane block stepped across the remaining area, at most 40 offsets). One placement keeps the plain names (EC L1, EC REM); several, ticked or swept, are each their own lane set (EC A1 L1, EC A2 L1 …) with their own cases (names ending A1, A2 …), never combined in one case. packing alone (LEFT|RIGHT) is still read as one placement. | |
| config | No | Advanced: any other plugin configuration field, deep-merged over the settings. | |
| loading | No | Loading (the plugin's Loading step): disciplines (ROAD, FATIGUE, RAIL), groups (gr1a, gr1b, gr3, gr4, gr5 — the road models follow), roadModels / excludedModels, fatigueModels, railModels, lm3Vehicles, psiValues (CHARACTERISTIC, FREQUENT), factors (alphaPreset EN|UK|IE|CUSTOM fills that preset's alphaQ / alphaq / alphaqr / betaQ / lm3Set — IE is the Irish NA Table NA.1, the same values as the UK NA; alpha values given with it override and make it CUSTOM; footwayCombination…), laneLoading, minLoadedLanes / maxLoadedLanes, straddle (MANUAL|ADJACENT), loadRemainingArea, userCases, ieRail, ieRoad (Irish NA road vehicles)… | |
| section | No | Carriageway cross-section, m: width, kerbOffset, verges, footways, central reserve… width/kerbOffset are read from the deck if omitted, but the read measures between the outermost girder lines it sees (overhangs not counted unless built as edge lines): where the deck overhangs the outer girders pass width (full carriageway) and kerbOffset (reference girder to kerb; negative when the kerb lies outside the reference girder) yourself. | |
| 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). | |
| 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 | Irish Rail CCE-STR-PSD-008 Appendix C trains on the tracks: true for all, or train ids / names (ec_moving_loads_read options). Dynamic factor settings in loading.ieRail. | |
| trafficOtherWay | No | Read the deck the other way round (the plugin's "Traffic runs the other way"). |