Summary
Copies parcels from an input parcel fabric to a new parcel fabric in a new feature dataset.
Usage
The output parcel fabric will have the same schema as the input parcel fabric. All attribute fields, parcel types, subtypes, domains, and rules will be copied to the new parcel fabric.
If the input parcel fabric layer has selected polygons, all corresponding parcel features and parcel records will be appended. This includes any connection lines that are connected to parcel points.
If the input parcel fabric has missing parcel lines or points, the parcel polygons will still be appended. Parcels can be built after data has been copied.
Parcel lines and points cannot be copied as stand-alone features using this tool. Use the Copy Features tool to copy parcel line and point features.
If the input parcel fabric has attribute rules that reference feature classes or tables that are not part of the parcel fabric, these rules will not be copied. Use the Copy tool to copy the contents of a feature dataset.
If the input parcel fabric is a feature service and has attribute rules that reference database sequences that are not exposed in the feature service workspace, these rules will not be copied. Connect in client-server mode to copy these rules.
Related tables and feature classes that are not controlled by the parcel fabric will not be copied to the output parcel fabric. Use the Copy tool to copy the contents of a feature dataset.
The output feature dataset is created as unversioned.
Syntax
arcpy.parcel.CopyParcels(in_parcel_fabric, target_database, {out_dataset_name}, {out_fabric_name})
Parameter | Explanation | Data Type |
in_parcel_fabric | The input parcels that will be copied to a new parcel fabric. The input parcel fabric can be from a file geodatabase, an enterprise geodatabase connection, or a feature service. | Parcel Layer |
target_database | The geodatabase in which the new parcel fabric will be created. The geodatabase can be a file or an enterprise geodatabase. | Workspace |
out_dataset_name (Optional) | The name of the feature dataset that will be created for the new parcel fabric. | String |
out_fabric_name (Optional) | The name of the new parcel fabric. | String |
Derived Output
Name | Explanation | Data Type |
out_dataset | The feature dataset that will be created for the new parcel fabric. | Feature Dataset |
out_parcel_fabric | The new parcel fabric. | Parcel Fabric |
Code sample
The following Python window script demonstrates how to use the CopyParcels tool in immediate mode.
import arcpy
arcpy.env.workspace = "C:/data"
arcpy.parcel.CopyParcels('CountyFabric', "C:/Parcels/Database.gdb")
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes