@DuncanHornby ,
Thank you for your help!
I have found a major bottle neck in MODEL 2; when I perform the AGGREGATE POLYGONS for all the zoning classes, the Zoning field from the Feature Classes that are created from SPLIT BY ATTRIBUTE is not carried over during the aggregation process.
So to remedy this I am using this python script to add a row and insert the correct zoning class, but am prompted with the error at the end of the reply.
Would you be able to check over the error I am getting, it creates the new row, but will not append the zoning class data
import arcpy
# Set environment settings
arcpy.env.workspace = "B:\Projects\2020\Zoning\Zoning Pro Project\Districts.gdb"
# Set local variables
inFeatures = "B_1_Aggregate"
fieldName1 = "Zoning"
fieldType = "String"
fieldPrecision = 7
fieldAlias = "Zoning"
fieldLength = 10
# Execute AddField twice for two new fields
arcpy.AddField_management(inFeatures, fieldName1, "TEXT", fieldPrecision,
field_alias=fieldAlias, field_is_nullable="NULLABLE")
# Create insert cursor for table
cursor = arcpy.da.InsertCursor(r"B:\Projects\2020\Zoning\Zoning Pro Project\Districts.gdb\B_1_Aggregate",
["Zoning"])
# Create new rows. Set the initial row ID and values
for i in range(0,178):
cursor.insertRow([i, 'B-1'])
Traceback (most recent call last):
File "<string>", line 24, in <module>
TypeError: sequence size must match size of the row