ArcGIS Pro 3.3 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

In This Topic
    BuildParcelsByRecord Method
    In This Topic
    Build parcel features that are assigned to the specified record.
    Syntax
    Public Function BuildParcelsByRecord( _
       ByVal parcelLayer As ParcelLayer, _
       ByVal recordGuid As Guid, _
       Optional ByVal layers As IEnumerable(Of MapMember) _
    ) As ParcelEditToken

    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