Message 1 of 3
How to reconnect the broken pipes in Revit API

Not applicable
08-21-2020
05:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In order to create a tee fitting between two pipes (pipe1 & pipe2), i broke a pipe (lets say pipe1) into two pipes (pipe1 & brokenPipe) using BreakCurve method in API. When i try to create tee fitting with these 3 pipes (pipe1, pipe2 & brokenPipe), in some cases the tee fitting is not created due to lack of clearance (already a tee fitting is present closer to current one for a different set of pipes).
So, now that tee fitting is not created i want those two pipes (pipe1 & brokenPipe) to be joined as pipe1 which i had before pipe break.
I tried connector1.ConnectTo(connector2), but its not working. Can someone help me?