- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am hoping to understand exactly how the .DWG export feature works when you check the box for 'Export rooms, spaces and areas as polylines'.
In the Area Class, there is:
- GetBoundarySegments(), which returns an array of 'segments'.
- The Geometry property, which returns a solid object and also curves.
It is my understanding that these are separate from AreaBoundaryLines, which can extend beyond the Area, overlap, etc., and does not reflect the true geometry of the Area.
None of these are polylines. Is this something that isn't exposed (yet), or some other mechanism?
Why do I ask? We have been having issues exporting AreaPlans where not every Area polyline comes through in the CAD drawing. Strangely, the same AreaPlan will export fine in Revit 2021, but have missing Area polylines (with only the tag showing) in Revit 2023. We use AreaPlans that consist solely of AreaBoundary Lines, no Walls at all. This is on purpose (and another conversation). Additionally, these exports contain Line geometry that I assume are the AreaBoundary model Lines. They are not helpful and have to be removed. These exports are used in an external process and must be either polylines or regions in CAD.
Also, one of my goals is to use Area Gross Building geometry to create Generic Model extrusions that mimic the mass of the building envelope (by level). For moderately complicated 2D geometry, I have yet to find a way to convert Areas (or Boundaries) into closed PolyCurves, Surfaces, or anything that can reliably be turned into a Generic Model Family object.
Could anyone give me some insight into this?
Thanks,
Loren
Solved! Go to Solution.