I´m reading this:
http://blog.civil3dreminders.com/2010/03/set-elevation-points-on-feature-line.html
and in the end it says: "If I remember correctly you need to make sure the point is on the feature line before setting the point elevation."
However, "GetPointElevation" method doesn´t exist.
I´m using:
double[] points = (double[])oFtrLn.GetPoints(AeccLandFeatureLinePointType.aeccLandFeatureLinePointPI);
but it is only for vertex, point elevation are excluded of that method.
I need location of all point elevations that belong a selected feature line.
Can I erase also a point elevation?
Thank you.
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.
ok.
And for get Elevation Points?
for (int i = 0; i <= oFtrLn.ElevationPointsCount -1; i++) { ...... }
What´s the differece between Point and PI?
I understand PI and Elevation Point but I don´t know what is "Point".
About this:
"If I remember correctly you need to make sure the point is on the feature line before setting the point elevation."
I can calculate Azimut and Distance between two vertex .Then, if point have the same Azimut(Direction) and (distance<distanceBetweenVertex and distance>0) I know that this point could be elevation point. I do loop for each pair of vertex.
However, I want Elevations point that feature line already has.
@joantopo wrote:
ok.
And for get Elevation Points?
for (int i = 0; i <= oFtrLn.ElevationPointsCount -1; i++) { ...... }What´s the differece between Point and PI?
I understand PI and Elevation Point but I don´t know what is "Point".
About this:
"If I remember correctly you need to make sure the point is on the feature line before setting the point elevation."
I can calculate Azimut and Distance between two vertex .Then, if point have the same Azimut(Direction) and (distance<distanceBetweenVertex and distance>0) I know that this point could be elevation point. I do loop for each pair of vertex.
However, I want Elevations point that feature line already has.
My first reply shows how to get the existing elevation points. What Christopher was saying is that if you are wanting to set a new elevation point, and perhaps you have the user select a point on screen, make sure the selected point lies on the featureline.
ahhhh, ok!
I thought that you had copied my code snippet. XD
I see the difference now. Thank you!