Commands  ›  Drainage  ›  M E P System Fillet

M E P System Fillet

Drainage writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open. At least two pipes must exist in the model.

After it runs

Target pipe is aligned to reference pipe in X, Y, and Z. Elbow fitting connects the two pipes.

When to use this

Don't use this when

Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).

Side effects

Moves the target pipe element. Creates a fitting element.

Inputs

NameKindTypeRequiredDefaultDescription
ReferencePipe selection Pipe yes Reference pipe (stays in place)
"Select REFERENCE pipe (stays in place)"
TargetPipe selection Pipe yes Target pipe (will be moved and connected)
"Select TARGET pipe (will be moved to connect)"

Returns

NameTypeDescription
CreatedFittingFamilyInstanceThe elbow fitting created
OffsetXYZTotal offset applied (X, Y, Z)

Decision flow

check: document.isOpen → continue
action: promptUserToSelectReferencePipe → getReferencePipe
action: promptUserToSelectTargetPipe → getTargetPipe
check: bothPipesValid → continue, else → error
action: matchCenters → alignXY
action: matchElevation → alignZ
action: createFitting → connect
resolve: success → complete, else → showError

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/mepsystem_fillet
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

force fillet · connect pipes · align and connect · forced connection · MEP fillet · force connect
Patterns: force * fillet · force * connect · align * connect

Related commandsMatchPipeCentersCommand · MatchHeightCommand · MatchHeightAndFilletCommand
PillarDrainage