This is a sample that might be useful for some as reference.
Using 11 lines of Python to create and load polygons from a shape file to a new parcel fabric.
This is something that could not be done in ArcMap and can have useful use cases such as digital submission.
You can copy paste it to the python view (command line) after you tweak your source data or wrap it up as a python script tool.
ParcelSourceData= r"C:\Temp\Parcels.SHP" #source polygons SR=arcpy.Describe(ParcelSourceData).spatialReference #retrieve the spatial reference of source data FGDB=arcpy.CreateFileGDB_management(r"C:/temp", "fGDB.gdb") #create a file geodatabase FDS=arcpy.CreateFeatureDataset_management(FGDB,"FDS", SR) #Create a feature dataset using the spatial reference PF = arcpy.CreateParcelFabric_parcel(FDS,"ParcelFabric") #Creating a new parcel fabric (PF,Parcels,Lines) = arcpy.AddParcelType_parcel(PF, "Ownership") #adding a parcel type arcpy.AddField_management(Parcels,"RecordName", 'TEXT') #Adding a field for the record name that is used for records creation arcpy.management.Append(ParcelSourceData, Parcels, "NO_TEST") #appending source data to parcel polygons arcpy.EnableParcelTopology_parcel(PF) #enable parcel fabric topology arcpy.CreateParcelRecords_parcel(Parcels, "RecordName") #creating new parcel records arcpy.BuildParcelFabric_parcel(PF) #building the parcel fabric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.