A Dynamo workflow can do what you're looking for, but you'll have to address a few things along the way that are specific to your workflow.
Scope box geometry is exposed (though manipulating it isn't), so you can get a geometry representation of your scope box and compare it against the locations of your pipes and fittings. The bimorphs package offers a low-resource way to compare geometries so you aren't hanging up your client with 1000+ comparisons.
You'll need to address how you want to handle items that pass through the boundary of the scope box (ignore them? include them? split the pipe at the boundary?)
Everything else is as @L.Maas stated. Compare the geometries/locations to make a list, plug in a parameter to push this information into, then create a filter that uses this parameter.