Commands › Drainage › Extend And Connect Manual
Extend And Connect Manual
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
- Connecting pipe to fitting connector.
- Connecting pipe to equipment connector.
- Extending two pipes to meet at intersection.
- Manual control over which connectors to use.
Don't use this when
Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
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
| Name | Type | Description |
|---|---|---|
CreatedFitting | FamilyInstance | The elbow fitting created |
ExtensionDistance | double | Distance 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...
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...
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
| Related commands | ExtendAndConnectPipesCommand · MEPSystemFilletCommand |
|---|---|
| Pillar | Drainage |