Commands  ›  Drainage  ›  Extend And Connect Manual

Extend And Connect Manual

Drainage writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open. Both selected elements must have valid connectors. The connector directions must intersect (not parallel).

After it runs

Source element is extended to meet the target element's line. An elbow fitting connects the two elements.

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).

Inputs

NameKindTypeRequiredDefaultDescription
SourceElement selection Element yes Source element to extend (pipe, fitting, equipment)
"Select SOURCE element - click near the connector you want to extend"
TargetElement selection Element yes Target element to connect to (pipe, fitting, equipment)
"Select TARGET element - click near the connector to connect to"

Returns

NameTypeDescription
CreatedFittingFamilyInstanceThe elbow fitting created
ExtensionDistancedoubleDistance extended in mm

What you'll see in the chat

on start
Ready for manual two-pick extend and connect...
Starting manual pipe connection — pick source then target...
thinking
Waiting for source element selection...
Waiting for target element selection...
Calculating line intersection between connectors...
Extending source pipe along its direction...
Creating elbow fitting at junction...
on success
Connected! Extended {ExtensionDistance} mm and created elbow fitting.
on failure
Extend & connect failed: {error}

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/extend_and_connect_manual
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

manual connect · two pick connect · extend line · line intersection · connector connect
Patterns: manually * connect * pipes · extend * to * meet · connect * to * fitting

Related commandsExtendAndConnectPipesCommand · MEPSystemFilletCommand
PillarDrainage