ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / CreateParcelSeedsByRecord Method / CreateParcelSeedsByRecord(ParcelLayer,Guid,Envelope,IEnumerable<MapMember>) Method
The parcel fabric layer to create the parcel seeds.
The record Guid.
Extent to create parcel seeds within.
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
    CreateParcelSeedsByRecord(ParcelLayer,Guid,Envelope,IEnumerable<MapMember>) Method
    In This Topic
    Create parcel seeds for all lines with the given extent and record.
    Syntax
    Public Overloads Function CreateParcelSeedsByRecord( _
       ByVal parcelLayer As ParcelLayer, _
       ByVal recordGuid As Guid, _
       ByVal extent As Envelope, _
       Optional ByVal layers As IEnumerable(Of MapMember) _
    ) As ParcelEditToken

    Parameters

    parcelLayer
    The parcel fabric layer to create the parcel seeds.
    recordGuid
    The record Guid.
    extent
    Extent to create parcel seeds within.
    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, extent and recordGuid cannot be null.
    Insufficient license. This method requires a standard license.
    Example
    Create parcel seeds
     try
    {
      var theActiveRecord = myParcelFabricLayer.GetActiveRecord();
      if (theActiveRecord == null)
        return "There is no Active Record. Please set the active record and try again.";
    
      var guid = theActiveRecord.Guid;
      var editOper = new EditOperation()
      {
        Name = "Create Parcel Seeds",
        ProgressMessage = "Create Parcel Seeds...",
        ShowModalMessageAfterFailure = true,
        SelectNewFeatures = true,
        SelectModifiedFeatures = false
      };
      editOper.CreateParcelSeedsByRecord(myParcelFabricLayer, guid, MapView.Active.Extent);
      if (!editOper.Execute())
        return editOper.ErrorMessage;
    }
    catch (Exception ex)
    {
      return ex.Message;
    }
    return "";
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also