Message 1 of 3

Not applicable
07-23-2015
09:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to find structural connections by passing a ElementIntersectsSolidFilter.
I'have been using this filter to find columns and framing successfully, but I just found out it dosen't work for structural connections.
IEnumerable<Element> connections = new FilteredElementCollector(doc)
.OfClass(typeof(FamilyInstance))
.OfCategory(BuiltInCategory.OST_StructConnections)
.WherePasses(new ElementIntersectsSolidFilter(Cylinder));
After I change ".OfCategory(BuiltInCategory.OST_StructuralColumns)" to ".OfCategory(BuiltInCategory.OST_StructConnections)"
it returns nothing. Any solutions? Thanks
Solved! Go to Solution.