Passing coordinates to "Create Features > Construction tools"

550
3
05-25-2017 12:26 PM
MauricioTerneus
New Contributor II

I need to calculate some coordinates then pass the calculated coordinates to the currently active construction tool so that it will plot it on the active map.  Is this possible or do I need to generate the entire feature and add it?

0 Kudos
3 Replies
by Anonymous User
Not applicable

You cant send coordinates to the tool but you can directly manipulate the edit sketch geometry via IEditSketch.Geometry. You can get the existing geometry or make a new one and assign it to the sketch.

0 Kudos
by Anonymous User
Not applicable

I should probably add that if you have all the geometry you need to create a feature and you don't need anything more from the user you could skip the sketch part and just create a feature with that geometry.

MauricioTerneus
New Contributor II

Thanks Sean

0 Kudos