Select to view content in your preferred language

How can I update multiple feature class attribute tables with the same values?

3500
3
05-19-2016 01:10 PM
santhoshp
Occasional Contributor

Dear All,

Please any one help me python script.

I have a geodatabase with multiple feature classes in multiple feature datasets.  Each feature class has same fields which are identical and will carry the same value. plzhelp me.

Two  types of (data)

Individual data ( Floor) Fields

Below the fields:

BUILDING_ID

DISCIPLINE_CODE

SUBDISCIPLINE_CODE

OWNERSHIP_CODE

PARCEL_ID

FLOOR_ID

DRAWING_REFERENCE

Merge data ( all floor) fields

Below the fields:

BUILDING_ID

DISCIPLINE_CODE

SUBDISCIPLINE_CODE

OWNERSHIP_CODE

PARCEL_ID

Below the snapshot

Thanks

Santhosh

0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

moving to Managing Data

0 Kudos
DanPatterson_Retired
MVP Emeritus

what do you have so far as a script?

0 Kudos
FC_Basson
MVP Regular Contributor

You could use the Calculate Field tool (Data Management -> Fields -> Calculate Field) in batch mode (right click for option).  Then just add your Feature Class as Input Table, add a row with the plus sign button for each field you want to calculate (8 in your case), right click fill the input table rows from the first record value, select the field for each row, type your value in the Expression field, right click fill again and run the tool.

0 Kudos