10.1 Python Add-In: onCreateFeature(self)

1648
2
05-08-2012 12:40 PM
MikeLong
New Contributor III
I am in the process of learning what can be done with Python Add-ins for ArcGIS 10.1 and would like to know if anyone has seen any examples with using the onCreateFeature event.  What we are specifically looking for is the ability to auto populate fields whenever the a new feature is created.  For example, to populate an ID field or generate XY values.

Has anyone seen any examples for this kind of thing?

-Mike
Tags (2)
0 Kudos
2 Replies
WhitneyKirkendall
New Contributor II
Hi Mike,

Did you find any examples that helped you?

Thanks!

Whitney
0 Kudos
MikeLong
New Contributor III
Hi Whitney,

I never did resolve how to do this and began using the Attribute Assistant.

http://resources.arcgis.com/en/help/localgovernment/10.2/index.html#//028s0000008n000000

Hope this helps.

-Mike
0 Kudos