- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have few surfaces in the drawing that are imported from LandXML format. Now I need to write a piece of code in C# that iterates through surfaces and then gets surface borders to do some calculations on them. But the problem is that whatever method I seem to use I get no borders from them. This is what I tried so far:
var boundariesDef = surface.BoundariesDefinition;
var borderObjectIds1 = surface.ExtractBorder(SurfaceExtractionSettingsType.Plan);
var borderObjectIds2 = surface.ExtractBorder(SurfaceExtractionSettingsType.Model);
var dbcol = new DBObjectCollection();
surface.Explode(dbcol);
And all of the collections are empty.
If anyone can give any hint on what to do to get the borders it would be great!
Thank you,
Tamara
Solved! Go to Solution.