Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi
I have some model in place element that I want to avoid collecting them in my element filter collector.
FilteredElementCollector collector = new FilteredElementCollector(doc);
ElementCategoryFilter filter = new ElementCategoryFilter(BuiltInCategory.OST_Walls);
IList<Wall> walls = collector.WherePasses(filter).WhereElementIsNotElementType().Cast<Wall>().ToList();
Solved! Go to Solution.