programatically use the extend tool in ArcMap

362
1
07-13-2010 01:24 PM
ChrisBradberry
Occasional Contributor
Hey,

I have some transect lines (polylines) going over a polygon.  These lines can overrun or stop short of the polygon boundaries. I would like to snap them to the polygon boundaries.  I can get it to work using the advanced editing tool for extend and trim, but I need to do this programatically. 

Does anybody know how to make these tool work programatically?  I tried calling the command, but since you need a mouse click to get it to work in ArcMap, I couldn't figure out how to get it to function.

Thanks, Chris
0 Kudos
1 Reply
ChrisBradberry
Occasional Contributor
I figured out how to extend the polylines within the polygon using IConstructCurve.ConstructExtended.  Now I just have to figure out how to trim the polylines outside of the polygon.

Chris
0 Kudos