LEARNING / AUTOMATION / SOFTWARE
Community forum
Automation cookbook / Version 1.0.0

Extract a traceable reaction table.

Select one primary case explicitly and keep its model revision, support IDs, component, sign and units with each number.

Offline example verified · 1.0.0Compatibility and native status
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.

  1. Check the synthetic result status and matching revision before consuming values.
  2. Select case 11, validate case/support keys and require a finite FY value in kN.
  3. 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.json

Use 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.

Who's online

Recent activity
Website
Visitors
—
Loading
Forum
Members
—
Guests
—
Bots
—
Loading
i

Website visitors are approximate active browser sessions in the last 15 minutes, using a random browser identifier shared across tabs and renewed after inactivity. Recognized bots are excluded; browsers blocking scripts or storage may be missing. Page visits, returning to a tab and interaction update presence at most once a minute. An idle tab or reading these counts does not keep a visit active. Forum Members includes staff. MyBB guests use distinct session addresses. Forum bots are displayed separately; disguised bots may still appear as visitors or guests. Each site counts independently, so a person can appear in several groups. Delayed values are labelled; unavailable counts use a dash. Privacy notice.