List<Element> elems = new FilteredElementCollector(doc) .WhereElementIsNotElementType().ToElements().ToList();
WhereElementIsElementType()
WhereElementIsNotElementType()
List<Element> elems = new FilteredElementCollector(doc) .WhereElementIsNotElementType().ToElements().ToList();