
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to split a duct in two which is a topic that has been covered on this forum before, a good solution appears to be suggested here: http://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3312303/hig...
The first step is to disconnect the pipe or duct from any fittings that might be attached at the end to be shortened, this is where I am struggling.
I can grab the connector no problem and it looks like connector1.DisconnectFrom(connector2) should do the trick but I am not able to find the relevant connector2 to disconnect from. I have tried connector1.GetMEPConnectorInfo().LinkedConnector but that returns null even when connector.IsConnected returns true.
Could anyone point me in the direction of a method to obtain the connector(s) which are connected to a given connector?
Solved! Go to Solution.