VietPer.

A .NET publication · published by VietPer

← Back to VP_RevitAPI

Sort pipe elevations by layer (PipeLayer)

Sort pipe elevations by route layer.

Ribbon location:
VP_MEP > Plumbing
Command:
PipeLayer

1. Purpose

Automatically re-sorts the elevations of overlapping pipe runs layer by layer, instead of moving each pipe by hand. Use it when supply, drainage and vent runs end up stacked inside a tight ceiling.

2. Quick video (≤ 2 minutes)

[Video in production — follow the steps below for now.]

3. Steps

  1. Open a 3D view or section where the overlapping runs are clearly visible. [image 01: pipe runs stacked on each other]
  2. Click Pipe layer in the VP_MEP tab, Plumbing panel.
  3. The tool re-sorts each run's elevation into its layer, keeping directions and connection points. [image 02: runs separated into elevation layers]
  4. Double-check in 3D: nudge by hand any pipe that still clashes. [image 03: verifying elevations after sorting]

4. Real-world example

A 500mm corridor ceiling must fit three runs — DN50 supply, DN110 drainage, DN75 vent — tangled into one bundle. Click Pipe layer — the three runs separate into three clean elevation layers, with the drain staying lowest to keep its slope.

5. Common errors

SymptomFix
Nothing changes after the runPipes are not joined into a system (open ends) — connect the run, then rerun
One pipe refuses to moveThe pipe is pinned — unpin it, then rerun
Still clashing with a beamThe ceiling is too shallow for all layers — reroute one run by hand

6. See also