ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasPointClusterSelectionFilter Class / MaximumNumberOfPoints Property
Example

In This Topic
    MaximumNumberOfPoints Property
    In This Topic
    Gets and sets the maximum number of points to be included in the selection. The default value is 1000.
    Syntax
    Public Property MaximumNumberOfPoints As Integer
    public int MaximumNumberOfPoints {get; set;}
    Example
    Select using LasPointClusterSelectionFilter
    {
      // must be on MCT 
    
      var clusterFilter = new LasPointClusterSelectionFilter();
      clusterFilter.VisiblePoints = true;
      clusterFilter.ClassCodes = new List<int>();  // empty list means all classification codes
      clusterFilter.FilterGeometry = polygon;
    
      clusterFilter.SearchRadius = 0.5; // meters
      clusterFilter.MaximumNumberOfPoints = 500;
    
      var clusterSelCount = await lasDatasetLayer.SelectAsync(clusterFilter, SelectionCombinationMethod.New);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also