A short note on splitting pipes.
This pretty standard functionality in the Revit MEP user interface can be a bit tricky to find in the API:

Question: The UI provides the split command (SL) to split a pipe into two without losing other connected elements.
How can I achieve the same in API?

Answer: You can use the PlumbingUtils BreakCurve method.
This is also available for duct work in MechanicalUtils BreakCurve.

Split pipe retaining connections


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading