Select to view content in your preferred language

change all vertices of a polyline feature

779
2
02-09-2012 01:49 AM
VinayanMP
Deactivated User
Hello,

i want to edit all vertices of a polyline feature. Is there any sample VBA code available? i have been searching for a while now.

An example case will be where all the x and y values wil be incremented by 5 units.

Any help is appreciated.
0 Kudos
2 Replies
VinayanMP
Deactivated User
figured it out myself..
PointCollection = feature.shapecopy

loop pointcollection and use UpdatePoint method
feature.Shape = pointcollection
feature.store
0 Kudos
by Anonymous User
Not applicable
You can also use ITransform2d to move the feature.
0 Kudos