ArcGIS Pro 3.4 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 Version

BuildParcelsByRecord Method
Build parcel features that are assigned to the specified record.
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

ArcGIS Pro version: 3 or higher.
See Also