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

Export an explicit spreadsheet table.

Produce deterministic CSV that Excel and other spreadsheet tools can import, keeping the case, units and synthetic provenance visible.

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
FY values remain in kN; no implicit conversion, locale-dependent formatting or unit omission.
Expected result
A header and 2 data rows, including model, revision, case ID/title, node ID, component, unit, value and source.

Follow the recipe.

  1. Reuse the validated selected-case table instead of exporting unreviewed raw rows.
  2. Quote text cells, escape embedded quotes and neutralize formula-like text. Keep numeric cells numeric.
  3. Download CSV and import it explicitly as UTF-8 with a comma delimiter. A native .xlsx file and Excel installation are not required.
Failure to reproduce

A mixed-unit result blocks export. Text cells that begin like spreadsheet formulas are prefixed before CSV quoting.

Download the failure fixture and compare its result with the reference fixture.

This produces CSV, not an Excel automation integration. The data and headers are deterministic; spreadsheet applications may interpret text differently, so review the import and preserve the JSON record.

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 spreadsheet-export fixtures/reference-model.json

Use fixtures/spreadsheet-export-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.