I try solidFittingfilter.WherePasses(new BoundingBoxIntersectsFilter(new Outline(wall.get_BoundingBox(activeView).Min, wall.get_BoundingBox(activeView).Max))); to check if there are some elements have same location as wall but it's slow
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
That sounds like a sensible approach to me.
The bounding box intersects filter is a quick filter, so it should be fast, as long as you are examining less than several hundred thousand elements:
http://thebuildingcoder.typepad.com/blog/2015/12/quick-slow-and-linq-element-filtering.html
get_BoundingBox(activeView) need to run 600ms which cause program slow,i cannot found other way to slove it.thanks anyway.
Can't find what you're looking for? Ask the community or share your knowledge.