Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am filtering for FamilInstances in a doc using FilteredElementCollector.
I want to get all family instances, except the titleblocks.
public ICollection<Element> CollectFamilyInstances(Document doc) { FilteredElementCollector collector = new FilteredElementCollector(doc); ICollection<Element> collection = collector.OfClass(typeof(FamilyInstance)) .ToElements(); return collection; }
How can i apply a filter over this collection so that instances of category OST_TitleBlocks are omitted from this collection?
Solved! Go to Solution.