Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
I am writing a program that determines all room boundarysegments for given rooms (or spaces)
var options = new SpatialElementBoundaryOptions();
var segments = roomOrSpace.GetBoundarySegments(options).SelectMany(x => x).ToList();
foreach (var x in segments)
{
var c = x.GetCurve();
var p1 = c.GetEndPoint(0);
var p2 = c.GetEndPoint(1);
points.Add(p1);
points.Add(p2);
}
The z-coordinate is always 0, unfortunately. With a cubical space that is not a problem, but when there are sloping walls or a roof, I don't know the height
Wat is the best way to retrieve this?
cheers
Jeroen
Solved! Go to Solution.