Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a line feature class with 2 lines (Engineering and Continuous Station series) co-incident on each other. I have created a toolbar(ArcGIS Desktop add-in 10.1) with 3 tools on it, add control point, move control point and delete control point. It's just an empty toolbar with no business logic.

When one selects the add control point tool and clicks anywhere on the line feature class, a point needs to be created on the line and a few attributes from the line needs to be brought in to the point. Also the distance of the point location from the beginning of the line needs to be calculated and attributed as well. The Move control point tool should move the points to a different location by specifying with a click on the line. Delete control point should delete both the control points.

I would like a python script to put them in the individual tools. Any ideas? A pseudocode would also help me work from my end. Thank you!!

share|improve this question
A sketch or screenshot might help here, as would showing what code you have so far, if any. – Chad Cooper Feb 19 '13 at 16:34
Did you get any resolution on this? About to do something similar. Thank you! – user23790 Sep 2 '14 at 15:21
M.S: No, I then moved on to another task. Sorry. – Naresh Aligeti Sep 9 '14 at 16:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.