Esri / local-government-desktop-addins

A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Apache License 2.0
61 stars 56 forks source link

Enhancement - Call On Create for a feature which was split #251

Closed MikeMillerGIS closed 6 years ago

MikeMillerGIS commented 7 years ago

Request was to trigger the on create event and not the On Change Geo event when a feature is split. A split can trigger a change and add event, in this case, it will trigger a add and add event.

MikeMillerGIS commented 7 years ago

New option added to the loaded.aa.config

 <!--Option to call on create instead of On Change Geometry when a line or polygon is split using the Split Tool.-->
    <add key="OnCreateWhenSplit" value="False"/>
SteveGrise commented 7 years ago

Looks great Mike. Was looking at effort to distribute with config changes, would it be possible to set this in GenerateID value info as well?

image

The behavior here is essentially the Keep Existing flag - I even tried this hoping it would do what I wanted - replace the existing ID on a split/cut.