Hi,I'm trying to try and have an edit from the template picker lead into a second edit of a different type (well cap at surface into it's lateral). But I'm having trouble with the syntax and available methods. Can anyone help me on this?My code so far reads as follows.
private void EditorWidget_EditCompleted(object sender, Editor.EditEventArgs e)
{
FeatureLayer horizontalWellCap = TabletMap.Layers["1"] as FeatureLayer;
FeatureLayer horizontalwellLateral = TabletMap.Layers["2"] as FeatureLayer;
if (e.Action == Editor.EditAction.Add)
{
foreach (Editor.Change change in e.Edits)
{
if (change.Layer != null && change.Layer == horizontalWellCap && change.Graphic != null)
{
}
}
}
}