Read reactions for restrained nodes only
Common after an analysis: you only care about reactions at supports,
not internal nodes. Two-step: filter nodes to NodeType=Restrained
to get the support node Ids, then pass them as the Nodes filter on
the reactions endpoint.
Nodes accepts SG list format — comma-separated Ids and dash ranges
("1,3-7,10"). Build it with string.Join(",", ids) (C#) or ",".join(...) (Python).
The snippet below opens the Portal Frame.SG sample, runs a linear
static analysis to populate reactions, queries restrained nodes, then
prints their reactions. try / finally closes the job even if a step
in the middle throws.
Run this example locally
The same code (against your own .sg file rather than the sample) is
in the repo as
Example.QueryRestrainedNodes (C#) and
query_restrained_nodes (Python).
Clone and run:
Edit the example's PROJECT_FILE_PATH constant first to point at an
analysed .sg file.
See also
- Filtering & Querying — full SG-list filter syntax and pagination.

