Does TopographySurface.GetBoundaryPoints guarantee point ordering?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'd like to extract consecutive boundary points of a TopographySurface, i.e., by traversing the returned List[XYZ], I'm simulating a continuous, vertex-by-vertex walk around the TopographySurface perimeter. I suspect all of this information must live in the underlying data structure, but I can't find out how to get at it, and the documentation makes no mention of ordering:
http://revitapisearch.com/html/f34dbefb-94de-43e8-967d-8662f6593dac.htm
I've also tried probing the Vertices member of the underlying Mesh (with a call to Geometry.GetEnumator()), but this returns boundary and interior points, also in an unknown order.
Anyone know how best to extract this information directly from the API, or else have insight into the order guaranteed by a call to TopographySurface.GetBoundaryPoint()?
Thanks in advance.