Commands  ›  Drainage  ›  M E P System Tee

M E P System Tee

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.

After it runs

Tee fitting inserted at selection point. Target pipe connected to tee branch.

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

Breaks the reference pipe. Moves target pipe. Creates tee fitting.

Inputs

NameKindTypeRequiredDefaultDescription
ReferencePipe selection Pipe yes Pipe to insert tee into
"Select REFERENCE pipe (where tee will be inserted)"
TargetPipe selection Pipe yes Branch pipe to connect
"Select TARGET pipe (branch to connect)"

Returns

NameTypeDescription
CreatedTeeFamilyInstanceThe tee fitting created

Decision flow

check: document.isOpen → continue
action: promptUserToSelectReferencePipe → getReferencePipe
action: promptUserToSelectTargetPipe → getTargetPipe
check: bothPipesValid → continue, else → error
action: breakReferenceAtPoint → createBreak
action: insertTeeFitting → createTee
action: connectTargetToBranch → 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_tee
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

tee fitting · branch connection · t-junction · insert tee · mid-pipe connect
Patterns: insert * tee · create * tee · branch * connection

Related commandsMEPSystemFilletCommand · MEPSystemAutoFilletCommand
PillarDrainage