Search
AutoBRIDGE — Corridor Creation (3D Mass / Adaptive) · User Manual
AutoBRIDGE · Corridor — 3D Mass / Adaptive Method

Corridor Creation via 3D Mass or Adaptive Family Edges

Generate a parametric bridge corridor by picking a curve edge directly from any 3D Mass or Adaptive Family already placed in Revit — no Civil 3D, no DWG import needed.

AutoBRIDGE Corridor Creation 3D Mass / Adaptive Method
Module: CorridorAdaptiveCurve.cs AutoBRIDGE Modeler v2026 Revit — No Civil 3D Required

What is the 3D Mass / Adaptive Method?

This is the third corridor creation method in AutoBRIDGE. Instead of reading data from Civil 3D or a linked DWG, it extracts individual curve edges — Lines and Arcs — directly from any 3D Mass or Adaptive Family instance already present in the active Revit document. The extracted edge becomes the alignment path that AutoBRIDGE sweeps a nested cross-section family along.

This method is ideal when the bridge geometry was conceived in Revit's massing environment, or when an existing adaptive family (such as a terrain surface, deck concept, or parametric form) already contains the desired alignment edge.

Key difference: The alignment source is a curve edge extracted from Revit geometry — not a CAD file and not a Civil 3D alignment. Any Line or Arc edge visible in the mass geometry can be used. The edge is automatically tessellated into a polyline for corridor generation.
🧊

From Revit Mass Geometry

Reads Line and Arc edges directly from 3D Mass or Adaptive Family instances placed in the model — no external files required.

🖱️

Click-to-Select Curve

A live 3D preview lets you click directly on the desired edge in the canvas to select it, or choose from the dropdown list of curve descriptions.

🔍

2D Cross-Section Validator

A separate preview panel shows the family edges by subcategory colour with boundary validation — confirming closed loops before you run.

Full Form Layout

The form is organised into five zones: a top combo bar (A) for source and curve selection, a full-width 3D preview canvas (B), then below that a family mapping panel (C) on the left and the chainages grid (D) on the right — both at equal width — and finally the run bar (E) at the bottom.

A AutoBRIDGE — Corridor from 3D Mass / Adaptive 3D Mass / Adaptive ▾ SOURCE MASS / ADAPTIVE Curve Length ▾ CURVE EDGE SELECTION X Y Z START 45m 90m 135m END Arc (Selected) ✓ Start Station Interval Points End Station [3D VIEW] Click to select · Ctrl+Left-drag to rotate · Middle-drag to pan · Scroll to zoom · Double-click to reset Corridors Nested Family ▾ Boundaries OK Deck Slab Void Box Barrier [SECTION PREVIEW] Solid Subcategories Deck Slab Barrier Left Void_Box Opening_Side Void Subcategories Void_Box Opening_Side Deck Slab START (m) END (m) SPAN (m) INTERVAL (m) FREQ 0.000 45.000 45.000 5.000 9 45.000 90.000 45.000 5.000 9 90.000 135.000 45.000 5.000 9 135.000 180.000 45.000 5.000 9 180.000 225.000 45.000 5.000 9 * (new row) Processing Success Failed Auto-calc (read-only) EJ OFFSET (m) 0.0 ⚙ Settings RUN Enter span chainages in Zone D · set interval in Settings · then click RUN to generate the corridor A — Source & Curve Selection B — 3D Preview C — Family Mapping D — Chainages E — Run Bar
Full form layout — Zone A (source/curve combos) · Zone B (full-width 3D preview) · Zone C (family mapping + section preview, left) · Zone D (chainages grid, right) · Zone E (EJ offset, settings, RUN)

Select the 3D Mass or Adaptive Family

The first combo (comboBox1, placeholder text "3D Mass / Adaptive") lists every eligible element in the active Revit document — 3D Masses and Adaptive Component instances whose geometry contains extractable Line or Arc curves. Select the element that contains the edge you want to use as the corridor alignment.

1

Choose the Source Element

Open the left dropdown (Zone A). AutoBRIDGE scans the document and lists all 3D Masses and Adaptive Family instances. When you select one, the code immediately reads its full geometry, extracts all Line and Arc curve edges, and populates the second combo and the 3D preview canvas.

  • The element must be a 3D Mass or an Adaptive Component already placed in the model.
  • The element must have at least one Line or Arc edge in its geometry — nurbs or splines are not supported directly.
  • Selecting triggers comboBox1_SelectedIndexChanged which repopulates comboBox2 and refreshes pictureBox2.
Bridge_Deck_Mass_v3 ▾ Bridge_Deck_Mass_v3 Arch_Mass_Concept_01 AdaptiveBridge_Spine Curve Length ▾ ← populated after mass selection
comboBox1 open — select the 3D Mass or Adaptive Family from the list. comboBox2 populates automatically after selection.
Template required: A corridor template must be selected in AutoBRIDGE Settings before the form opens. If no template is selected, the form will show a warning and abort. Go to Settings → Template first.

Pick the Alignment Curve Edge

After selecting the mass, all extractable edges appear in the second combo (comboBox2). Each entry describes one edge by its type and geometry. You pick the specific curve that will act as the centreline of the corridor.

2

Select the Curve from the Dropdown or Click in 3D Preview

The second combo lists every Line and Arc edge found in the mass geometry, described as:

  • Line: Start(X, Y, Z), End(X, Y, Z) — a straight edge.
  • Arc: Center(X, Y, Z), Radius(R) — a curved arc edge.

You can select from this list or click directly on the desired edge in the 3D Preview canvas — the canvas selection syncs to the combo and vice versa. The selected curve highlights in cyan in the preview.

CURVE EDGE SELECTION Arc: Center(280.3, 450.1, 12.5), Radius(800) ▾ Arc: Center(280.3, 450.1, 12.5), Radius(800) Line: Start(0, 0, 0), End(45.0, 2.3, 0) Line: Start(45.0, 2.3, 0), End(90.0, 4.1, 0) Arc: Center(140.0, 380.0, 10.2), Radius(600) Line: Start(90.0, 4.1, 0), End(180.0, 0, 0) ... 3 more curves
comboBox2 open — all Line and Arc edges extracted from the mass geometry
Click! Arc (Selected) ✓
Click directly on any curve in the 3D canvas to select it — syncs to the dropdown

Reverse Direction (⇄ button)

The ⇄ toggle (checkBox4) reverses the direction of the selected curve's polyline. Because the corridor is swept from start to end along the curve, direction matters for chamfer alignment, skew, and subcategory placement. If the generated corridor appears to be oriented 180° from expectation, toggle this checkbox before running.

The Interactive 3D Preview Canvas

The large grey panel (pictureBox2) is a fully interactive 3D orthographic view of all curves extracted from the selected mass. It renders in real time as parameters change, showing the selected alignment curve with interval station markers.

3

Navigating and Reading the 3D Preview

The canvas draws all curves using a spherical camera projection (azimuth + elevation angles). The XYZ axis triad in the corner orients you. The currently selected curve is drawn in cyan, all others in grey.

Once chainages are entered, three types of markers appear on the selected curve:

  • Cyan dots — Start station points (first point of each span)
  • Yellow dots — Interval/frequency points (where adaptive instances will be placed)
  • Red dots — End station points (last point of each span)
X Y Z START 45m 90m 135m 180m 225m END Start Station Interval Points End Station Click edge to select · Ctrl+Left-drag to rotate (azimuth/elevation) · Middle-drag to pan · Scroll to zoom · Double-click to reset view
3D Preview canvas — selected Arc curve in cyan with interval station markers. Rotation: Ctrl+drag. Pan: middle-drag. Zoom: scroll. Reset: double-click.
InteractionControlEffect
Select a curveLeft-click on curve in canvasHighlights curve in cyan; syncs comboBox2 selection. Threshold: 10 px proximity.
Rotate viewCtrl + Left-dragAdjusts azimuth (horizontal) and elevation (vertical) angles of the spherical camera.
Pan viewMiddle-dragShifts panOffsetX / panOffsetY to translate the entire scene.
ZoomScroll wheelAdjusts camera radius (distance from centre). Clamped to minimum 1.
Reset viewDouble-clickResets pan offsets to zero; restores fit radius.

Select the Nested Family

The Corridors Nested Family combo (comboBox4) on the right panel selects the adaptive cross-section family that gets swept along the selected curve edge. This is the same nested family concept as in the other corridor methods.

4

Choose the Cross-Section Family

The combo is populated with all loaded corridor nested families (Revit families already in the project that are designated as corridor cross-sections). Select the family that represents the bridge cross-section shape to be swept — deck slab, box girder, I-beam arrangement, etc.

When a nested family is selected, comboBox4_SelectedIndexChanged triggers pictureBox3_Paint, which reads the family's edge geometry and renders the 2D cross-section preview below, colour-coded by subcategory.

BridgeDeck_Twin_Box_v2 ▾ Boundaries Look Good Deck Slab Void Box Barrier
Nested family selected — pictureBox3 renders the 2D cross-section with subcategory colour coding. ✔ confirms all boundaries are closed loops.

Map Solid & Void Subcategories

The right panel contains two CheckedListBox controls — one for Solid subcategories and one for Void subcategories. These are populated automatically from the cross-section geometry when a nested family is selected. You assign each subcategory to either the Solid or Void group.

5

Assign Subcategories to Solid or Void

Every named subcategory found in the nested family's edge data appears in both lists initially. Checking an item in the Solid list automatically removes it from the Void list, and vice versa — they are mutually exclusive. The 2D cross-section preview uses the same colour coding as the lists.

  • Solid subcategories — geometry that produces structural material in the corridor (slab, wall, girder faces).
  • Void subcategories — geometry that cuts or removes material (internal hollow sections, openings).

If no subcategories are checked in either list, AutoBRIDGE will ask for confirmation before running — it will still generate the corridor but without solid/void distinction.

Solid Subcategories Deck Slab Barrier Left Barrier Right Void_Box Opening_Side Checking here removes from Void list → Void Subcategories Void_Box Opening_Side Deck Slab ← Checking here removes from Solid list
Solid and Void CheckedListBox controls — mutually exclusive. Checking an item in one list removes it from the other automatically.

Define Chainages & Frequency

The Chainages DataGrid (dataGridView1) in Zone D defines how the corridor spans are distributed along the selected curve. It has five columns and works similarly to the other corridor methods — with advanced frequency mode options.

6

Enter Span Data — Station, Interval & Frequency

Each row defines one corridor span. Enter values in the editable columns; Span Length is calculated automatically. The active editable columns depend on the Corridor Settings type:

START STATION (m) END STATION (m) SPAN LENGTH (m) INTERVAL (m) FREQ. COUNT 0.000 45.000 45.000 (auto) 5.000 9 (auto) 45.000 90.000 45.000 5.000 9 90.000 135.000 45.000 5.000 9 135.000 999.000 864.000 5.000 172 ⚠ Out of range! * (new row) Processing (blink) Success Failed / Out of range Read-only (auto-calculated) Editable
Chainages DataGrid — Span Length and one of (Interval / Frequency Count) are auto-calculated depending on Settings type. Row colour indicates processing status during Run.
ColumnEditable?Description
StartStationYesCorridor span start in metres along the curve. Automatically fills adjacent rows when End Station is entered (equal subdivision).
EndStationYesCorridor span end in metres. Entering a value triggers automatic distribution of intermediate rows.
SpanLengthNo (auto)Calculated as EndStation − StartStation (with EJ offsets applied). Always read-only.
IntervalSectionSettings 1–4 onlySpacing in metres between adaptive instances within the span. Editable when setting type is 1–4; auto-calculated when type is 5.
FrequencyCountsSettings 5 onlyNumber of adaptive instances per span. Editable only when setting type is 5; auto-calculated otherwise.

EJ Offset (textBoxEJ)

The EJ Offset field applies an Expansion Joint inset at both ends of every span row. The value (in metres) is added to the Start Station and subtracted from the End Station before any calculations — effectively shortening each span by 2 × EJ to leave clearance at supports. Set to 0 for no offset.

Corridor Settings (⚙ Settings button)

The Settings button (setButton) opens the CorridorSettingsControl form — the same settings panel used by all corridor methods. It controls the Section Arrangement mode (Start, End, From Center, To Center) and which column (Interval or FrequencyCount) is the primary editable input. Changes to Settings update the DataGrid column read-only states immediately.

Run the Corridor

The RUN button (button4) validates all inputs and processes each span row in sequence. A progress bar and a row blink effect provide live feedback during generation.

7

Validation, Processing & Report

Before processing, AutoBRIDGE checks:

  • Mass / Adaptive selected (comboBox1) — error if nothing is selected.
  • Curve selected (comboBox2) — error if no curve edge is chosen.
  • Nested family selected (comboBox4) — error if no family is chosen.
  • At least one chainage row — error if the grid is empty.
  • Station range check — rows where Start or End station falls outside the total curve length are flagged. A dialog asks whether to skip those rows or abort entirely.

For each valid row, AutoBRIDGE calls DoWorkA() which places adaptive cross-section instances at every station along the extracted curve, applying the EJ offset and subcategory solid/void assignments. Rows blink hot-pink during processing, turn blue on success and red on failure.

✓ Mass: Bridge_Deck_Mass_v3 · Curve: Arc R=800m · Family: BridgeDeck_Twin_Box_v2 · 3 spans — ready to run Processing span 2 of 3... RUN EJ OFFSET: 0.15 m ⚙ Settings On completion → Report dialog shows: "Row 1 Station 0.0: Successfully processed. Row 2... Row 3... Processing complete. Success: 3, Failure: 0."
Run bar — progress bar fills span by span. RUN button triggers validation then DoWorkA() per row. Completion opens a styled report dialog.
Undo: Each span row is placed in its own Revit transaction. Use Ctrl+Z multiple times to undo spans individually, working backwards through the processing order.

End-to-End Workflow

Place a 3D Mass or Adaptive Family in Revit

The element must already exist in the model with at least one extractable Line or Arc edge that represents the desired alignment path.

Open AutoBRIDGE → Corridor → 3D Mass / Adaptive

A corridor template must be selected in Settings first. The form opens and scans the document for eligible masses and adaptive families.

Select the source mass from comboBox1

The 3D preview canvas fills with the mass wireframe. All extractable curve edges are listed in comboBox2.

Pick the alignment curve edge

Click a curve in the 3D canvas, or choose from comboBox2. The selected curve highlights in cyan. Use the ⇄ toggle to reverse direction if needed.

Select the nested cross-section family (comboBox4)

The 2D section preview renders with subcategory colour coding and boundary validation status.

Assign Solid and Void subcategories

Check items in the Solid list for structural geometry; check items in the Void list for cuts/openings. Each item is mutually exclusive between the two lists.

Enter span chainages, interval and EJ offset

Fill the DataGrid rows with Start/End stations in metres. Set Interval spacing or Frequency Count (depending on Settings type). Enter EJ Offset if expansion joints need clearance.

Click RUN and review the report

AutoBRIDGE processes each row. Successful rows turn blue, failed rows turn red. A report dialog summarises the result count.

Three Corridor Methods — Comparison

FeatureCivil 3D3D PolyLine3D Mass / Adaptive
Software requiredCivil 3D openRevit onlyRevit only
Alignment sourceCivil 3D Alignment + Profile3D PolyLine in linked DWGLine / Arc edge from Revit mass geometry
Curve types supportedAny (via polyline tessellation)Polyline segmentsLine and Arc edges (tessellated)
Direction controlAlignment directionPolyline vertex order⇄ toggle reverses polyline direction
Span definitionManual or equalManual or Lines optionManual entry in DataGrid
EJ OffsettextBoxEJ field
3D interactive previewPlan + Elevation viewsPlan viewFull 3D rotatable view + 2D section preview
Subcategory mappingFamily tabFamily tabInline Solid/Void CheckedListBoxes
Output parameterAutoBRIDGE_Type = "AutoBRIDGE_Corridor" on all instances

Troubleshooting

SymptomLikely CauseFix
Form shows template warning and closesNo corridor template selected in SettingsOpen Settings → Template tab and select a template, then re-open the form
comboBox1 is emptyNo 3D Masses or Adaptive Families in the documentPlace at least one 3D Mass or Adaptive Component in the Revit model before opening the form
comboBox2 is empty after selecting a massMass geometry has no extractable Line or Arc edgesCheck that the mass has solid geometry with distinct edges; Nurbs/splines are not extracted. Simplify the mass geometry.
3D preview is blankNo curves were found in the selected elementConfirm the mass has geometry; try a different element. Check the error log.
Corridor is oriented opposite to expectedCurve polyline direction is reversedEnable the checkbox to reverse the polyline direction and re-run
Subcategory lists are emptyNo named subcategories in the nested family's edge dataConfirm the nested family cross-section has geometry assigned to named subcategories in the family editor
2D section preview shows ✗ boundary errorSome edges are not forming closed loops (dangling endpoints shown as red dots)Return to the nested family editor and close all open boundary edges; confirm all outlines are closed polygons or loops
Rows turn red during runStart/End station out of the curve's total length, or DoWorkA failedVerify station values are within the curve length shown. Check that the nested family loads correctly. Review the report dialog for the specific failure message.
EJ Offset causes empty spansEJ value is too large relative to span lengthReduce the EJ Offset so that Start + EJ < End − EJ for every row
AutoBRIDGE Corridor Creation — 3D Mass / Adaptive Method — User Manual
Module: CorridorAdaptiveCurve.cs · AutoBRIDGE Modeler v2026 · Revit — No Civil 3D Required
Scroll to Top