Select to view content in your preferred language

10.1 Python Add-In: onCreateFeature(self)

1816
2
05-08-2012 12:40 PM
MikeLong
Occasional Contributor
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
Deactivated User
Hi Mike,

Did you find any examples that helped you?

Thanks!

Whitney
0 Kudos
MikeLong
Occasional Contributor
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