Python Script Examples#

These pages are tutorial code snippets, separate from the rswall package API reference.

RSWall models used in the examples can be found here: ExampleModel.rswall (also copied to the site root as ExampleModel.rswall when the docs are built).

The seeded model is a line-load sample project with wall/segment names Wall 1 / Segment 1. Examples that require MSE/gabion-only library features say so explicitly and create library entries through the API where possible.

Before running any example, start RSWall with scripting enabled (RSWall.exe -startScriptingServer 60067) or call RSWallModeler.startApplication(port=60067).