Search
AutoBRIDGE — Vertical Variation · Model Line
AutoBRIDGE · Vertical Variation · Method 3 of 4

Vertical Variation Model Line Group

Read target elevations from the Z coordinates of a Revit model line group placed directly in the project — no Civil 3D, no linked DWG. Ideal when the design intent is modelled entirely within Revit.

AutoBRIDGE Vertical Variation Model Line Group

Model Line Group Method

The Model Line Group method reads the world Z coordinates of model line endpoints from a Revit Group placed in the project, and uses those Z values as the target elevation at each corridor station. No external files, no Civil 3D connection needed.

This approach is useful when the road geometry is sketched or designed directly in Revit using model lines — for example when a bridge deck profile is approximated with a few 3D line segments in a structural model.

Key prerequisite: A Revit Group containing the model lines must already exist in the project before opening this form. Create it with Select lines → Modify → Create Group.
Tip: Draw model lines in a 3D view (not a plan view) so their Z elevation is set freely. Verify the Z values in element Properties before running.
Up / Down direction: Up = parameter grows upward from base Z. Down = grows downward. Check the preview before RUN.

Full Form Layout

Five zones. Row A is the full-width Instances Family groupBox. Row B splits: Model Line Group groupBox (65%, with comboBox1 listing Revit Groups) and Parameter Direction (35%). RUN button in Row E stands alone.

AutoBRIDGE — Vertical Variation · Model Line Group Instances Family CORRIDOR FAMILY TYPE NAME (comboBox5) BridgeDeck_BoxGirder_v2 ▾ PARAMETER NAME (comboBox4) Top_variable ▾ A — Family + Parameter Model Line Group SELECT REVIT GROUP CONTAINING MODEL LINES (comboBox1) BridgeProfile_ModelLines_v3 ▾ Parameter Direction Up ✓ Down B — Model Line Group + Direction [ELEVATION] H1:V10 Datum Model line Z profile Corridor base Z Current param top Parameter band Scroll zoom · Left-drag pan · Double-click reset · H1:V10 C — Elevation Preview Group selected: BridgeProfile_ModelLines_v3 | 57 model line Z values extracted. Model line Z values (m): 18.320, 18.295, 18.266, 18.241, 18.219 ... Corridor base Z (m): 16.160, 16.142, 16.124, 16.105, 16.087 ... Subtracted Values: 2.160, 2.153, 2.142, 2.136, 2.132 ... Updated instance 0 'Top_variable' → 0.658m. Created solid + void. Family reloaded. All parameters set successfully. D — Log Output RUN No alignment info label — RUN button only at right side E — RUN only
Model Line form — A (Instances Family full-width) · B (Model Line Group comboBox1 on left 65%, Parameter Direction on right 35%) · C (Preview: blue=segmented model line Z, red dashed=base Z, green=band) · D (Log) · E (RUN only)

Prepare the Model Line Group in Revit

1

Draw model lines at the correct 3D elevation

In a 3D view, draw model lines along the bridge centreline. Each vertex must be at its correct world X, Y, Z position — the Z values define the target elevation at each station.

Must be a 3D view: Model lines in a plan view are limited to 2D — their Z is fixed at the level elevation. Use a 3D or section view to set Z freely.
2

Create a Revit Group from the model lines

Select all the model lines → Modify → Create Group → give the group a descriptive name (e.g. BridgeProfile_ModelLines_v3). The group must exist in the project before opening the Vertical Variation form — comboBox1 scans for Groups on load.

Select the Corridor Family & Parameter

1

Instances Family — comboBox5

Lists all AutoBRIDGE_Corridor families in the project. Selecting auto-populates comboBox4 with all length instance parameters.

2

Parameter Name — comboBox4

Pick the length parameter to write to. Must be Instance with no formula.

3

Parameter Direction — Up / Down

Up = grows upward from base Z. Down = grows downward. Preview updates on toggle.

Select the Model Line Group & Run

1

Model Line Group — comboBox1

Select the Revit Group name from the dropdown. AutoBRIDGE reads the Z coordinates of all model line vertices in the group and uses them as the target elevation profile. Selecting a group immediately updates the preview — the blue line traces the model line Z profile.

Verify that the blue segmented line represents the correct shape. Then click RUN.

RUN Pipeline

Read nested instances from corridor family

Opens the family for editing and retrieves all nested adaptive instances.

Read current base Z of each instance

Gets world Z of each instance LocationPoint.

Extract Z values from the model line group

Reads the Z coordinate of each vertex of all model lines inside the selected Revit Group, interpolated to the station spacing of the corridor instances.

Compute |model line Z − base Z| per instance

Absolute difference always positive.

Write delta to the selected parameter

Single transaction on the family document.

Delete old forms and rebuild

CreateLoftForm for each solid then void subcategory.

Reload family into the Revit project

Updated geometry immediately visible. Preview redraws.

Undo: Use Ctrl+Z. Save the model before running.

Troubleshooting

SymptomCauseFix
comboBox1 (Group) is emptyNo Revit Groups in the projectCreate a group from the model lines: select → Modify → Create Group.
Preview shows flat line at zeroModel lines were drawn in a plan view at the level elevationRedraw the model lines in a 3D view to set correct Z values, then re-group.
Geometry inverted after RUNWrong Up/Down directionToggle direction and re-run.
AutoBRIDGE — Vertical Variation · Model Line Group — Workflow Guide
© 2026 AutoBRIDGE Documentation · auto-bridge.net
Scroll to Top