It was found that there was a guy used Microstation V8i VBA to extract points from DTM by using DTMFeatureScanCriteria and DTMFeatureEnumerator.
Link to Mark Stefanchuk's post
However, in MSCE .NET API the DTMFeatureScanCriteria is found missing and the direct functions from DTM are very limited.
Should the code become like this?
DTM dtm = new DTM(); DTMFeatureEnumerator ee = new DTMFeatureEnumerator(dtm); ee.IncludeFeature(DTMFeatureType.SlopeToe); IEnumerator<DTMFeatureInfo> info = ee.GetEnumerator(); while (info.MoveNext()) { // Do something DPoint3d[] pt = info.Current.Points; }
Hi clever_anthony,
I am checking with development to see if the necessary export may have been overlooked, a better recommendation, or if there is any public documentation/examples wrt accessing the DTM API from .NET that can be provided. I will let you know once I have some additional information to pass along.
Thank you,Bob