Guest User

Untitled

a guest
Jul 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. //from inside OnVertexMoved
  2. IFeature source_feature = ArcMap.Editor.EditSelection.Next();
  3. IEditSketch e_sketch = ArcMap.Editor as IEditSketch;
  4. IGeometryCollection gc = source_feature.Shape as IGeometryCollection;
  5. IGeometry geo_part = gc.Geometry[e_sketch.Part];
  6. IPoint orig_point = (geo_part as IPointCollection).Point[e_sketch.Vertex];
Add Comment
Please, Sign In to add comment