How to get elements of a specific type inside a bounding box
you can use the Element.IsOfCategory filter. from Clocwork