dan.nguyen27

Moving a point feature to a new X,Y

Discussion created by dan.nguyen27 on Apr 4, 2011
Latest reply on Apr 5, 2011 by kjkim134
Hello, 

Have anyone had experience writting code to change coordinates of a point feature to move the points to their new X,Y?

I wrote the code below in VB but it doesn't seem to update the point X,Y to a new X,Y

            Set pPoint = pFeature.Shape
            Set pEditSketch.Geometry = pPoint
            pPoint.X = New_X
            pPoint.Y = New_Y
            pEditSketch.FinishSketch

I already have Editor turned on.

Thanks for any help.

Dan.

Outcomes