OpenBuildings™ Station Designer Help

Tunnel Script

The tunnel template script is comprised of two DGN files which are in the Station Designer dataset extension in the path C:\ProgramData\Bentley\OpenBuildings CONNECT Edition\Configuration\Datasets\DatasetExtensions\Station_Designer\Seed\.

The first file contains the alignments and is referenced by the second file. This second file contains a script which places a tunnel liner, two layers of concrete ballast, and sleepers. The script file contains comments in the list of Transactions that provide additional information about the purpose of the respective subsequent sections of transactions.

File name Contents/purpose
Tunnel - Alignment.dgn
Contains a single set of alignments for a circular bored tunnel, for placement of tunnel liner rings, and tracks with cant. The alignment for the tunnel center is on a level named "Geom_Vertical", the alignment for the track center (between the rails) is on level "Rail_Center", and the two alignments for the rails on level "Rail_Cant". These levels are used in the script for filtering by level name when using the FromElementsInRange technique to acquire the geometry for use by OpenBuildings GenerativeComponents.
Tunnel Script - basic.dgn
Contains a script that uses the various alignments and additional parameters to place tunnel liner rings, two layers of ballast, and sleepers. The last transaction in this script places an Export node that exports per user request (pressing the Export button on the node) the tunnel geometry to the file ExportedTunnel.dgn.

The tunnel script uses a user-defined type "Tunnel Liner", placed as a BuildingContent node and replicated along the tunnel center alignment. It also uses a Cell "Sleeper", placed on the rail alignments. This contents is part of the dataset extension delivered with OpenBuildings Station Designer.