Run a linear static analysis
Analysis is asynchronous — POST /run-linear starts it and returns a
runId immediately, then you poll GET /runs/{runId} until the
status reaches a terminal state (Completed, Failed, or Cancelled).
The snippet below opens your project, runs analysis with the current
settings, polls every half-second, and prints a one-line summary on
completion. The empty StaticSettingsUpdate() body means "use whatever
settings the job already has" — pass non-null fields to override,
including a selection of the load cases and combinations you would
like to run.
Run this example locally
A richer version with progress polling, a reusable WaitForCompletion
helper, and a result summary is in the repo as
Example.RunAnalysis (C#) and
run_analysis (Python).
Clone and run:
Edit the example's project_file_path constant first to point at a
.sg file with structure and loads defined.
See also
- Running Analysis — the full pattern with
a reusable
WaitForCompletionhelper and richer progress display. - Concepts — Analysis Runs

