Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 want to create versions of the edit tools that will add a parallel, offset segment each time I add a segment regularly. Is it possible to put a wrapper around the existing tools? Or otherwise add to their functionality?

e.g. Using the sketch tool I click twice on the screen. Code that I write would add a perpendicular segment on the front of a specified length and a parallel segment. I add another segment and it adds another parallel segment. I add a curve and it adds a parallel curve.

Do I have to make the tools from scratch or can I use the existing ones to add the segments and just tack on code to add the extra segments? Recreating the sketch tool wouldn't be so bad but the other tools are more complicated.

share|improve this question
Which software package are you customizing? – underdark Jan 21 '11 at 22:34
have you looked at the customize> commands? – Brad Nesom Jan 22 '11 at 3:37
up vote 1 down vote accepted

I think this could be done with an Editor Extension. When IEditEvents.OnSketchFinished fires, depending on what the currenttask is modify the sketch by adding parallel segments etc.

share|improve this answer
I think you're right. It looks like I can even use onSketchModified to do it as I draw the shape. – dogtato Jan 24 '11 at 21:08

Why doesn't coppy parallel work for you? Understand that you would first digitize one side, then, when you are done select them all and copy parallel. Unless I am missing something in your question.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.