ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / LasDataset Class / GetUniqueReturns Method
Example

In This Topic
    GetUniqueReturns Method
    In This Topic
    Gets the set of returns used in this LAS dataset. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public IReadOnlyList<LasReturnType> GetUniqueReturns()
    Public Function GetUniqueReturns() As IReadOnlyList(Of LasReturnType)

    Return Value

    The set of LasReturnType used in this LAS dataset.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Example
    Get classification codes / Returns from a LAS Dataset
    var classCodes = lasDataset.GetUniqueClassCodes();
    var returns = lasDataset.GetUniqueReturns();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also