Revit Add-in · MEP length cleanup

Length
Optimizer

Find every pipe, duct, conduit, or cable tray with a fractional inch length, gray them out in the active view, then click any one to retype its length. Connected fittings and downstream runs translate to follow.

Revit 2022 – 2025 Pipe · Duct · Conduit · Cable Tray
Revit · 3D View · {3D}
Length Optimizer — active
Click a pipe to adjust its length — Double-ESC to exit
6'-0" 3'-7 1/4" ! 8'-3 5/8" → 8'-0" FIXED MOVES CLICK 17'-10 7/8" → 17'-7"
Length Optimizer · Motion-Site Tools ×
MOTION-SITE REVIT ADD-IN SUITE
LENGTH OPTIMIZER
CATEGORY
PIPE DUCT CONDUIT CABLE TRAY
Adjust Length
Click an element to enter a new length.
OR
Highlight Non-Integer Length
Gray-out fractional lengths.
AUTO
Active view · 14 pipes found · run Highlight to scan

Spot every off-cut.
Snap it back to integer.

Fabrication-ready lengths in two passes, across pipe, duct, conduit and cable tray: highlight the offenders, then click each one and type the length you want. Connected fittings and downstream runs translate to follow.

Highlight Non-Integer Lengths

Scans every element of the chosen category in the active view and grays out any whose length isn't a whole inch (tolerance 0.01″). Re-run after edits — elements that are now clean automatically un-highlight.

Active-view scoped
Click-to-Adjust

Pick an element, type the exact length you want, hit Enter. The tool resizes the geometry in a single Revit transaction — fully undoable, with feet+inches, fractions, or mixed input.

Modal length input
Branches Move With It

When you shorten or lengthen an element, every fitting and downstream connector at the moving end translates as one — no broken connections, no orphaned elbows or tees.

Connected-element sync
FIXED
Smart Endpoint Detection

The endpoint nearest your click stays put; the far endpoint moves. So you naturally trim from the side that matters — no parameter dialog, no axis dropdowns.

Click = anchor
=
Type an Expression

Skip the calculator. Prefix the input with = to evaluate arithmetic: =1 6"/2 becomes 9", =6"*2 becomes 1'. Mix feet, inches, fractions.

Built-in math
AUTO-Refresh Toggle

Switch on the AUTO toggle and the highlight overlay re-runs after every adjustment — elements you've just fixed stop being gray in real time. Off by default to keep big models snappy.

Live overlay
Double-ESC Workflow

Stay in adjust-mode and keep clicking elements one after another. Single ESC skips one; double-ESC (within half a second) exits the tool. No ribbon trips between fixes.

Modeless picking
Four MEP Categories

One tool, one workflow — switch between Pipe, Duct, Conduit and Cable Tray with a chip-row at the top of the dialog. Your last selection is remembered between launches.

Pipe · Duct · Conduit · CT

Pick a category,
highlight, then adjust.

Choose Pipe, Duct, Conduit or Cable Tray. Run HIGHLIGHT to scan, or click the ADJUST LENGTH card to start picking elements — flip the AUTO toggle to do both at once.

1. Launch from the Ribbon

Open Revit and load your project. On the MotionSite tab, click Length Optimizer in the Modeling Tools panel. The tool dialog appears, ready in the active view.

2. Pick a Category

Tap one of four chips — PIPE, DUCT, CONDUIT, CABLE TRAY. The status bar updates live with the count of that element type in the active view. Selection persists between launches.

3. ⌖ HIGHLIGHT

Hit the dark ⌖ HIGHLIGHT button in the footer. Elements whose length isn't a whole inch turn solid gray in the active view; the rest have their overrides cleared. A task dialog reports counts.

4. Click the ADJUST LENGTH Card

Click the orange-outlined ADJUST LENGTH card in the dialog. Pick any element near the endpoint you want to keep — a small input dialog opens with the current length displayed. Type the target value and confirm.

2 62′6″
5. Forgiving Length Input

Type 4 for 4', 2 6 for 2'-6", 0 11 1/2 for 11½", or prefix with = for math like =1 6"/2.

6. Repeat or Exit

The tool stays active so you can chain edits. Press ESC to skip an element; ESC ESC within half a second to exit. All edits are single-transaction and undoable.

What the tool
actually does.

No surprises: the detection rule, the units, the scope, and the safeguards that keep your model intact.

Pipe, Duct, Conduit, Cable Tray
Active view scope
0.01″ whole-inch tolerance
Feet, inches, fractions
Expression input (= …)
Gray surface override
Single-transaction edits
Fully undoable
Double-ESC exit
Connected-fittings sync
Auto-clears fixed elements
Persists last category
Tolerance: 0.01" — that's it.

An element is "non-integer" if its length is more than one-hundredth of an inch off a whole number. Rounding artifacts from Revit's internal precision don't trigger the highlight.

Click side = anchored side.

Whichever endpoint your click was closest to becomes the FIXED anchor. The far end moves to meet the new length — along with any connected fitting, equipment, or downstream run.

One-click MSI
installer

Length Optimizer ships as a bundled MSI package. Run the installer — the add-in registers itself for every supported Revit version on your machine, no manual file copying or config edits required.

1
Download the MSI

Obtain the latest PipeLengthOptimizer-Setup.msi from your Motion-Site distribution package.

2
Run the installer

Double-click the MSI and follow the prompts. The installer detects your Revit version and drops the matching DLL into the right add-ins folder — the 2022-2024 build for Revit 2022/2023/2024, and the 2025 build for Revit 2025+.

3
Launch Revit

Open any Revit project. The MotionSite tab appears in the ribbon — click Length Optimizer in the Modeling Tools panel to open the dialog.

Tools by VDC engineers, for VDC teams.
Ready to ship
fabrication-clean MEP?
Download
Tweaks
Hero Background
Accent Color
Section Density
Feature Grid