How to create a list that shows ducts contained within a space

There’s maybe another solution with Element.Location which let you choose between points and curves locations, along with BoundingBox.Contains and Filter.ByBoolMask (but I didn’t test it with ducts). See here: