Cannot find StructConnections Elements with ElementIntersectsSolidFilter

Cannot find StructConnections Elements with ElementIntersectsSolidFilter

Anonymous
Not applicable
559 Views
2 Replies
Message 1 of 3

Cannot find StructConnections Elements with ElementIntersectsSolidFilter

Anonymous
Not applicable

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

 

CONNECTION.JPG

0 Likes
Accepted solutions (1)
560 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

That is because Structural Connections do are not able to be used in clash detection or interference checking.  Unfortunately, you will have to use a different Category for these elements to be used in this manner.  

 

 

Keith

0 Likes
Message 3 of 3

Anonymous
Not applicable
I guess using bounding box is the only way.Thanks
0 Likes