Automated pipe routing solution
Let engineers connect pipes to elements in seconds - with slopes, fittings, and no manual adjustments.

Overview
Auto-Routing Plugin for Sloped Pipe Systems
The plugin enables users to select a pipe and a destination element (e.g., riser or trap), define the slope, and instantly generate a correct, connected pipe system. It handles changes in level, inserts required fittings (elbows, tees), and maintains system integrity. The tool supports both horizontal and vertical routing, adapting to real-world geometries and clash-free logic.
- Routing algorithm
- Revit plugin
Problem
Routing sanitary piping with slopes is one of the most repetitive and error-prone tasks in Revit. Each connection must be manually calculated and adjusted to meet angle, clearance, and fitting requirements. Even minor design changes can break entire layouts, forcing teams to rebuild them again and again.
Solution
We developed a plugin that builds sloped pipe systems between selected points, placing correct fittings and maintaining design intent.
The plugin workflow includes:
- User elements selection (a pipe and destination element)
- Slope specification
- Calculation the best piping route
- Piping elements placement
Technologies used
C#
.NET
Revit API
Process
Workflow analysis
Interviewed engineers to understand routing pain points, slope rules, and fitting standards across project types.
Routing logic prototyping
Built a dynamic engine that calculates slope paths and detects optimal geometry between selected elements.
Development
Main plugin development and rule-based fitting logic that ensures compliance with system type and angle constraints.
Testing
Tested across multi-level real-world models with various sanitary and drainage configurations.
Results
60%
Pipe routing time reduction
100%
Elimination slope misalignment errors across all tested models
Highlights:
- Rule-based fitting and slope logic
- Supports vertical and horizontal routing
- Fully aligned with Revit native system behavior and workflows