ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.Parcels Namespace / ParcelFabric Class / GetSystemTable Method
The system table to open.
Example

In This Topic
    GetSystemTable Method (ParcelFabric)
    In This Topic
    Opens the specified parcel fabric system table.
    Syntax
    public Table GetSystemTable( 
       SystemTableType systemTableType
    )
    Public Function GetSystemTable( _
       ByVal systemTableType As SystemTableType _
    ) As Table

    Parameters

    systemTableType
    The system table to open.

    Return Value

    A ArcGIS.Core.Data.Table object for the specified system table.
    Exceptions
    ExceptionDescription
    This parcel fabric does not support systemTableType.
    systemTableType is invalid.
    A geodatabase-related exception has occurred.
    Remarks
    If IsSystemTableSupported returns false, calling this method will result in an exception.
    Example
    Get point, connection, and record feature classes from the parcel fabric dataset
    string errorMessage = await QueuedTask.Run(() =>
    {
      try
      {
        var myParcelFabricLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<ParcelLayer>().FirstOrDefault();
        //if there is no fabric in the map then bail
        if (myParcelFabricLayer == null)
          return "There is no fabric in the map.";
        var myParcelFabricDataset = myParcelFabricLayer.GetParcelFabric();
        FeatureClass myPointsFC = myParcelFabricDataset.GetSystemTable(SystemTableType.Points) as FeatureClass;
        FeatureClass myCoonectionsFC = myParcelFabricDataset.GetSystemTable(SystemTableType.Connections) as FeatureClass;
        FeatureClass myRecordsFC = myParcelFabricDataset.GetSystemTable(SystemTableType.Records) as FeatureClass;
      }
      catch (Exception ex)
      {
        return ex.Message;
      }
      return "";
    });
    if (!string.IsNullOrEmpty(errorMessage))
      MessageBox.Show(errorMessage, "Get point, connection, and record feature classes.");
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also