Snapping Endpoints Only

Discussion created by jbaughman on May 24, 2011
Latest reply on May 26, 2011 by csny490
Hi, all.

I've been trying to figure out how to snap only the endpoints in a polyline layer to the edges of a polygon layer using arcpy (Arc10), and I and my team members are stumped. The sheer number of lines we have to snap makes doing them manually unpalatable, at best. As-is, the snap tool snaps interior vertices on polylines as well as the endpoints, distorting the lines -- again, trying to catch these manually is a problem. We were able to do this in 9.3 using the BulkSnap tool that someone kindly wrote and made available, but it doesn't work correctly in 10.

Any suggestions would be appreciated.

Thank you,