Filter list by element type

I have a list of objects of different type e.g. {line,surface,surface,line}
Is there a way to scan the list and return indices of surface elements (1,2) and line elements (0,3)?

Hi @Ilya_Kirichenko

Here is one of the possible way.

Thank You. It works. Hoped there is a direct way to determine element type without converting to string.


A post was split to a new topic: Filter Views by View Type