Detach multiple pipe runs

I have managed to create a dynamo script to make pipe runs from polylines but here is the issue after I finished I got a huge number of pipe runs which made the file very laggy.

Is there any way to detach all pipe runs at once… I have been looking for detach node but never found it.

Thanks.