
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey everybody!
I'm working on a script that will collect all mechanical equipment in a file and attempt to verify that controls are connected to each said piece of equipment. To this end, I've been looking at the following for inspiration on how to get intersecting items: http://thebuildingcoder.typepad.com/blog/2010/12/find-intersecting-elements.html
My test file is an SDV with a chamfer wire connected to it and a few other SDV's at a distance. I know the intersection filter is working because if I increase the bounding box I can get all the neighbouring SDV's. However, I can't seem to get the wire itself. Using the Revit lookup "Snoop Selected Element" tool, I can see that the wire does indeed have its own bounding box, although the Z dimension is zero.
Is it possible to use this type of intersection to grab wire elements?
Is there a better way to accomplish what I'm trying to do?
Thank you.
Solved! Go to Solution.