What kind of edit?

2992
3
Jump to solution
07-16-2015 09:33 AM
FabianoFerrazza
New Contributor III

Hi All,

do you now a way to determine what kind of edits are made on a feature?

So, by the "OnUpdate" event handler is easy manage a generic edit event on a feature, but seems no possible to now if the edit concern the geometry or an attribute (and, obiouvsly, WHICH attribute).

Could you help me?

Thanks

Fabiano

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
JeffMatson
Occasional Contributor III

You can use IRowChanges and IFeatureChanges, just QI to an existing IFeature object.

View solution in original post

3 Replies
JeffMatson
Occasional Contributor III

You can use IRowChanges and IFeatureChanges, just QI to an existing IFeature object.

FreddieGibson
Occasional Contributor III

I agree with Jeff. IRowChanges would reflect when a non-geometry attribute is updated. IFeatureChanges would reflect when there are changes to the geometry. You could utilize these within an Editor Extension.

IRowChanges Interface

http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0025000007vw000000

IFeatureChanges Interface

http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0025000002qp000000

FabianoFerrazza
New Contributor III

Thank you so much Jeff! it's what I need.

0 Kudos