Commands › Drainage › Extend Pipe Up
Extend Pipe Up
Coming soon
Before you run this
Active document must be open. At least one pipe must exist in the model. User must select a valid pipe element.
After it runs
A new pipe is created extending upwards from the top of the selected pipe. Extension length = pipe radius × 5. New pipe matches system, size and family routing types.
When to use this
- User needs to extend an SVP or drainage pipe upwards.
- User wants to quickly add a vent extension to existing pipework.
- User is extending vertical stacks through multiple floors.
Don't use this when
Not for autonomous AI execution. This command requires interactive Revit UI input (dialogs, picks, or manual confirmation).
Side effects
Creates a new pipe element in the model.
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
Pipe |
selection | Pipe |
yes | — | Pipe to extend upwards "Select a pipe to extend upwards" |
RadiusMultiplier |
config | double |
no | 5.0 | Extension length as multiplier of radius |
Returns
| Name | Type | Description |
|---|---|---|
ExtensionPipe | Pipe | The created extension pipe |
Decision flow
check: document.isOpen → continue action: promptUserToSelectPipe → getSelectedPipe check: selectedElement.isPipe → continue, else → error action: getPipeProperties → system, size, routing action: calculateExtensionLength → radius × 5 action: createExtensionPipe → ExtendPipeUp.Extend resolve: success → showSuccess, else → showError
What you'll see in the chat
on start
Extending pipe upwards...
Getting ready to extend the pipe...
Getting ready to extend the pipe...
thinking
Detecting pipe endpoint...
Calculating extension length (radius × 5)...
Creating extension pipe...
Calculating extension length (radius × 5)...
Creating extension pipe...
on success
Pipe extended upwards by {ExtensionPipe} mm
on failure
Could not extend pipe: {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_pipe_up- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
extend pipe up · pipe extension up · extend upward · grow pipe up · lengthen pipe
Patterns: extend * pipe * up · grow * pipe * up · lengthen * up
Related
| Related commands | ExtendPipeToNextLevelCommand · ExtendPipeDownCommand · PlaceSVPCommand |
|---|---|
| Pillar | Drainage |