Extract a traceable reaction table.
Select one primary case explicitly and keep its model revision, support IDs, component, sign and units with each number.
- Environment
- Current browser, or Node.js 20.9+. Verified locally with Node.js 24.22.1 on Windows. No npm install.
- Data and units
- Global FY in kN, upward-positive for this supplied fixture. Raw live OpenSTAAD units must be checked separately.
- Expected result
- Case 11 / G1 returns FY = 24 kN at node 101 and FY = 24 kN at node 207. Case 23 is not mixed into that table.
Follow the recipe.
- Check the synthetic result status and matching revision before consuming values.
- Select case 11, validate case/support keys and require a finite FY value in kN.
- Return two sorted rows with the full context; never treat an unavailable API result as zero.
Failure to reproduce
A results revision that differs from the model revision blocks extraction. Duplicate keys, missing supports and mixed units also block it.
Download the failure fixture and compare its result with the reference fixture.
The fixture status is supplied metadata, not evidence that STAAD analysis completed. The live companion checks native success and all six finite components using the explicitly marshalled array path verified on STAAD.Pro 2025. It labels observations as raw native output.
Try the supplied example.
This runner reads only the bundled synthetic fixtures. It does not upload files or contact a live model.
Enable JavaScript to run the example here. Source, fixtures and expected output remain downloadable.
Run an example to inspect its result.Run the same source locally.
Extract the complete source bundle, open a terminal in that folder and run:
node run.mjs reaction-extraction fixtures/reference-model.jsonUse fixtures/reaction-extraction-failure.json to reproduce the documented failure. Exit 0 means the bounded exercise ran; 1 means blocked or mismatched; 2 means invalid invocation or unreadable input.
Read the underlying implementation and API contract
The browser and CLI share the same local JavaScript implementation. The bundle includes the runner, fixtures, expected outputs, source checksums and optional read-only C# source.
Native integration reference: Pinned StaadPro.Interop documentation (commit 02fc97a19010). The offline fixture is not a native API export and cannot establish compatibility with an installed STAAD.Pro build.
