Disconnect connected Fabrication Parts

Hi Everyone,

Is there a way to disconnect connected Fabrication parts? I need to disconnect and set the length to Auto if the length is 1400 and connect it back again.

Each FabricationPart has a ConnectorManager property which, in turn, has a Connectors property, which then has a DisconnectFrom method. The MEPover package has some nodes regarding connectors, but I’ve never used it myself, so I’m not sure if it’s possible to do what I mentioned only through nodes. I will do some testing tomorrow and get back to you.

1 Like

Have tried MEPover Package, as below

suggested by @ T_Pover for conduit run. I get null result for Connector.ConnectedConnectors.

I don’t know if I’m using the Connector.DisconnectFrom node entirely correctly, but it seems to be working for me:

disconnect.dyn (18.7 KB)

Right now, I’m just filtering the entire list of fabrication parts based on their length property (fittings do not have a length, so I replace all null values with false) and only disconnect the connectors for elements which evaluate to true.

1 Like

Hi @cgartland

That did the trick, now I can disconnect only selected elements which is what I wanted to achieve. Thanks you.