Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66664

Re: How to find number of Reference Planes passing through a selected wall.

$
0
0

Use the geometry of the wall and reference planes.

 

Get the location of the wall:

 

 

LocationCurve l = wall.Location as LocationCurve;

and check against all the ReferencePlanes in the document:

 

 

FilteredElementCollector coll = new FilteredElementCollector(doc).OfClass(typeof(ReferencePlane));

and now foreach ....

 

Hope this helps.
Christian

 

 

 


Viewing all articles
Browse latest Browse all 66664

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>