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?
Hi Joe!
Figure 1 shows the section view of my project.
When I use the above code it also lists the shaded slab (Figure 2).
using: new FilteredElementCollector (doc, doc.ActiveView.Id😞
he should not only list the slab down? (Figure 2, not hatched slab)
sorry my English (Google Translator).