Hi;
I want to get tow thing in c#:
1- to obtain the max and min. elevation of a section, I can get to the section but I can not get these
2- to obtain corridor section , what is the procedure of it
anyone can help me with a code in c#
thanks
Hi ebo,
I think to get max and min elevation of a section, first you need to know what is in that section view (e.g. 3d polyline? point? Cogo Point? Line?). Get all elements in that section view and go through each element. Use iteration to get the max and min elevation (check Z value for all points and vertices in polylines).
for corridor section, link below might help:
Regards
Felix
If
sectionView.IsElevationRangeAutomatic == true
then ElevationMin and ElevationMax return the values from the sections shown in the view.
If you set
sectionView.IsElevationRangeAutomatic = false
then ElevationMin and ElevationMax return the max and min values of the section view itself.