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:
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: