BimCode
Curves to Alignments
Included with eligible plans — sign in to check yours
Curves to Alignments
Turn a connected chain of Revit model lines into a named route with station markers and a LandXML export. Updated Revit 2025–2027 uses a native Civil alignment (see the update requirements below). Revit 2023–2024 creates an editable model-curve group with static station annotations; it does not create a native Civil alignment object.
How to use
- In Revit, select the model lines that form one connected, open path — no branches, no gaps.
- Open Curves to Alignments from BimCode. It reads your current selection automatically; use the refresh button if you change the selection while the window is open.
- Choose how to build the alignment: directly in Revit (the default), or, when the window shows Civil 3D is available, routed through Civil 3D and back into Revit.
- Enter a name for the new alignment and its starting station.
- Turn on Create station labels if you want stations marked in the active view, then set how far apart major and minor labels should be (100 ft and 20 ft by default). Set the minor spacing to 0 for major labels only.
- Click Create alignment + tags.
Good to know
- Works on one connected, open, unbranched chain of lines at a time. Disconnected or branching selections are rejected before anything is created.
- Supports Revit 2023–2027. In Revit 2023/2024, station annotations need a plan view: major stations are text notes and ticks, and minor stations are ticks. They do not update when the model curves are edited; rerun from the revised source chain to regenerate the route and annotations. The original source curves remain unchanged. Runs are capped at 5,000 annotations; increase the spacing for longer routes.
- The native workflow retains its existing 2025-era adapter and station implementation. The current 2025 artifact uses the API baseline listed below; earlier 2025 updates are not verified for that artifact.
- Civil 3D is optional. The window shows whether it's available on this computer — you can leave it out entirely and everything still happens inside Revit.
- Curved lines are converted into a series of short straight segments so the alignment closely follows the original geometry.
- A successful run creates the alignment and, if you chose to, its station labels in the active view. Nothing else in the model is changed.
- If any step fails partway through, nothing is left half-built — the alignment and its labels are undone together and your model stays exactly as it was.
- Each run saves a record of what was created — the name, stations, and which method was used — so you can check back on it later.
- The 2023/2024 result shows the saved LandXML and run-record paths. LandXML uses the project's active shared coordinates and horizontal stationing in feet, with curved sources represented by short straight segments.
API and update requirements
The five-year build checks use these exact Nice3point.Revit.Api.RevitAPI
and RevitAPIUI package versions:
| Revit | Reference-package baseline | Workflow |
|---|---|---|
| 2023 | 2023.1.90 | Model curves, static plan annotations and LandXML |
| 2024 | 2024.3.10 | Model curves, static plan annotations and LandXML |
| 2025 | 2025.4.60 (API assembly 25.4.60.0) | Native Civil alignment and station labels |
| 2026 | 2026.3.0 | Native Civil alignment and station labels |
| 2027 | 2027.2.0 | Native Civil alignment and station labels |
The 2025 build deliberately overrides the general plugin baseline
2025.0.2; 25.4.60.0 is this artifact's current API validation baseline.
Earlier 2025 updates, including 2025.0–2025.2 and 2025.3, are not covered
by these build checks. All native variants also need Autodesk's installed
Civil Alignments component and its native dependencies.
These workflow choices describe this plugin's implementation, not the
complete capabilities of each Revit release. The inspected Revit 2024
Civil Alignments assembly (24.3.0.0) already exposes station-set APIs.
This pass provides the model-curve alternative for Framework hosts rather
than porting and validating the existing native adapter against those APIs.
A native 2024 port needs more than enabling the managed station-label types. The current payload adapter calls private Autodesk C++ exports, resolves RTTI vtables, and uses object sizes and field offsets from the 2025 SDK. Its managed importer combines reflection over nonpublic import/parser entry points with typed Civil Alignments calls. A port therefore needs 2024-specific signature and native ABI validation, Framework-compatible loading/marshaling, and host tests of payload import and station labels. The presence of the managed types alone does not establish that compatibility.
There is currently no early check of the installed Revit minor update. Generation reports missing Civil Alignments components and some missing entry points, but those checks do not prevent every type/member binding failure on an older update. The package's supported-year list describes major-year artifacts, not compatibility with every update in that year.
Validation here covers all five Release builds, frontend output, package
artifact selection, and automated legacy geometry/annotation tests with
recording Revit fixtures. Native creation has not been exercised in this
compatibility pass. The locally inspected 2025 installation has API and
Civil Alignments assemblies 25.4.30.0; inspection of those files is not a
runtime test of the 25.4.60.0 build. Native 2025–2027 workflows still need
host smoke tests on the intended updates.
Create the next tool for your workflow.
BimCode is also an AI agent for Revit. Work with your model, build custom plugins, design families and create AI renderings.