Summary
Creates parcel records for the input parcel fabric features using a record name field or an expression.
Parcel records are created and added to the parcel fabric Records feature class. The parcel record polygons will match the cumulative geometry of all parcel polygons associated with them.
The Records feature class stores information about the legal parcel record such as the record date and record type. In the parcel fabric, parcel features are associated with the record that created and retired them (made historic).
Usage
If the Field option is used for the Record Name Method parameter, the input Record Field name must exist in the input parcel feature's attribute table and must contain record names that correspond to their associated parcel features.
The tool creates parcel records and generates record geometry based on the commutative geometry of all the associated parcel features.
The tool updates the Created By Record field of the parcel features with the global IDs of the new records.
The tool updates the Parcel Count field in the Records feature class with the number of parcels that are associated with each record created.
If there are existing records, they will not be duplicated; however, the record geometries will be updated to match the geometries of the parcel features used in the latest execution of the tool.
Records are only created for and assigned to the input parcel features, for example, to polygons. To assign records to connected parcel features such as points and lines, run the Build Parcel Fabric tool.
In an enterprise geodatabase, the data must be unversioned.
Syntax
arcpy.parcel.CreateParcelRecords(in_parcel_features, {record_field}, {record_expression}, {record_name_method})
Parameter | Explanation | Data Type |
in_parcel_features | The input parcel features that will be used to create parcel records. The input parcel features can be from a parcel fabric in a file geodatabase or an enterprise geodatabase. | Feature Layer |
record_field (Optional) | The attribute field that contains the record names. The attribute field must be a text field and must contain parcel record names that correspond to their associated parcel features. | Field |
record_expression (Optional) | An Arcade expression that uses fields, string operators, and mathematical operators to represent the record names. For example, the expression Left($feature.Name,4) extracts the first four characters from the parcel name field in the parcel fabric polygon feature class to create the record names. | Calculator Expression |
record_name_method (Optional) | Specifies the method to use to create parcel records.
| String |
Derived Output
Name | Explanation | Data Type |
out_record_feature_class | The updated Records feature class. | Feature Class |
updated_parcel_fabric | The updated parcel fabric. | Parcel Fabric |
Code sample
The following Python window script demonstrates how to use the CreateParcelRecords function in immediate mode. The script creates parcel records for Lot parcel type features using the RecordName field.
import arcpy
arcpy.parcel.CreateParcelRecords(r'c:\Data\Database.gdb\Parcels\Lot',
'RecordName', '', 'FIELD')
The following Python window script demonstrates how to use the CreateParcelRecords function in immediate mode. The script creates parcel records for Lot parcel type features using an expression. The expression extracts the first four characters from the parcel name field.
import arcpy
arcpy.parcel.CreateParcelRecords(r'c:\Data\Database.gdb\Parcels\Lot', '',
'Left($feature.Name,4)', 'EXPRESSION')
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes