ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LasDatasetLayer Class / GetSelectVisiblePoints Method
Example

In This Topic
    GetSelectVisiblePoints Method
    In This Topic
    Determines if only visible points are selectable or not. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public bool GetSelectVisiblePoints()
    Public Function GetSelectVisiblePoints() As Boolean

    Return Value

    If true, then only visible points are selectable.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    Selection Settings
    // configure the LAS selection settings
    
    // set visible points and a specific set of classification codes selectable
    lasDatasetLayer.SetSelectVisiblePoints(true);
    lasDatasetLayer.SetSelectableClassCodes(new List<int>() { 3, 4, 5 });
    
    // this example sets all classification codes selectable
    lasDatasetLayer.SetSelectableClassCodes(new List<int>());
    
    
    // get the current LAS selection settings
    var canSelectVisible = lasDatasetLayer.GetSelectVisiblePoints();
    var selectableClassCodes = lasDatasetLayer.GetSelectableClassCodes();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also