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

Re: REVIT API - Rooms Get Boundaries Segments

$
0
0

I see, that really solved one problem!

 

juninhopaica_0-1634566220319.png


However I found other right after that. When using a collector with a Roomfilter to get all Rooms in a specific project, the objects that I get returned are actually (Autodesk.Revit.DB.Elements), and not (Autodesk.Revit.DB.Architecture.Rooms) and the later don't have a "GetBoundariesSegment" method. Here is the method to collect all rooms that I used...

juninhopaica_1-1634567122516.png


I used the RoomFilter (RoomFilter Class (revitapidocs.com)) which is actually a slow filter, and has a sample for use. I tried to convert the elements from Autodesk.Revit.DB.Element to Autodesk.Revit.DB.Architecture.Room but with no succsse...


Im sorry to bother with another question, but how would we be able to use Room elements from the filter ? Thanks for the help, is really nice to see that the community here is so recepitive!


Viewing all articles
Browse latest Browse all 67020

Latest Images

Trending Articles



Latest Images

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