Query Elements - Sequential Element Limit

Hi @Japhy,

I am wondering if we could sequentially limit the number of elements from query elements…For example, we could limit first 5 revit elements, then another 10 elements, and another 15… instead of getting 30 elements at once.

I am thinking this might be helpful to improve the performance of querying large objects by sequentially limit the elements…

or do we have some other solutions for this?

Thanks in advance.

To speed up Element Queries the best way to is to put a ‘Fast’ filter in before the ‘Slow’ Filter (query elements)

https://thebuildingcoder.typepad.com/blog/2015/12/quick-slow-and-linq-element-filtering.html

@Japhy,

Thanks for the reply and link to the filters.
I assume there is no way we can sequentially limit the number of quering elements using component. If this is right, I will close the solution with your answer above.

Thanks again and appreciate it.