ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / BuildParcelsByRecord Method
The parcel layer to build.
Record of features to build.
Layers that the editor listens to for database changes. This allows edit operations like SelectNewFeatures, SelectModifiedFeatures to act on feature changes.
Example

BuildParcelsByRecord Method
Build all features of the parcel dataset.
Syntax

Parameters

parcelLayer
The parcel layer to build.
recordGuid
Record of features to build.
layers
Layers that the editor listens to for database changes. This allows edit operations like SelectNewFeatures, SelectModifiedFeatures to act on feature changes.
Exceptions
ExceptionDescription
ParcelLayer and recordGuid cannot be null.
Insufficient license. This method requires a standard license.
Example
Build parcels
try
{
  var myParcelFabricLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<ParcelLayer>().FirstOrDefault();
  if (myParcelFabricLayer == null)
    return "Parcel layer not found in map.";

  var theActiveRecord = myParcelFabricLayer.GetActiveRecord();
  var guid = theActiveRecord.Guid;
  var editOper = new EditOperation()
  {
    Name = "Build Parcels",
    ProgressMessage = "Build Parcels...",
    ShowModalMessageAfterFailure = true,
    SelectNewFeatures = true,
    SelectModifiedFeatures = true
  };
  editOper.BuildParcelsByRecord(myParcelFabricLayer, guid);
  if (!editOper.Execute())
    return editOper.ErrorMessage;
}
catch (Exception ex)
{
  return ex.Message;
}
return "";
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.7 or higher.
See Also