Populating the same attribute values of the fields of multiple feature classes in a file gdb

341
2
01-04-2018 07:52 AM
SarojThapa1
Occasional Contributor III

I have a fgdb that contains more than 20 feature datasets and each feature dataset contains multiple feature classes. Almost all feature classes share common fields for e.g. siteID, owner, name. Most of these fields are assigned domain values. I am looking for a script that essentially checks the common fields in different feature classes within a gdb and populates the field values.

For example,  all the feature classes have the fields as shown on the snapshot. As shown on the attached images, If the value of the field "owner"  is private for a feature class named example, then the script should populate the field values of owner  in other feature classes such as Installation_A and ExternalPropertyInterest_A as private.

Could somebody please give me hints on how to do this or show me the scripts that do the similar things? Thanks a lot.   

0 Kudos
2 Replies
JoshuaBixby
MVP Esteemed Contributor

I don't think I am going out on much of a limb when I say there aren't any scripts.  You will need to be creating one for yourself.  Can you elaborate on, "I am looking for a script that essentially checks the common fields in different feature classes within a gdb and populates the field values?"  Giving examples, including screenshots, is most helpful for those of us trying to help you.

SarojThapa1
Occasional Contributor III

Hi Joshua, 

Thanks for your response. I have attached a couple of screenshots and some elaboration on the original post. Hopefully I made it clearer than more complicated now.

0 Kudos