Message 1 of 3
FilteredElementCollector issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to list only visible Floor in this activeview (see Figure 1).
But when using:
___________________________________________________________________________
ElementCategoryFilter filter = new ElementCategoryFilter(BuiltInCategory.OST_Floors);
FilteredElementCollector collector1 = new FilteredElementCollector(doc, doc.ActiveView.Id);
collector1 = collector1.WherePasses(filter);
___________________________________________________________________________
He is also listing this Floor. (see Figure 2)
But if I change the Floor (see figure 3), it works and does not list the previous Floor.
Anybody can help me?