ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinDataset Class / GetNodeByIndex Method
The index of the node to get.
Example

In This Topic
    GetNodeByIndex Method
    In This Topic
    Gets the node specified by the index. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TinNode GetNodeByIndex( 
       int index
    )
    Public Function GetNodeByIndex( _
       ByVal index As Integer _
    ) As TinNode

    Parameters

    index
    The index of the node to get.

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    The specified index is out of range.
    Remarks
    To ensure maximum robustness, callers should explicitly dispose of the returned TinNode in either a using statement or a finally block.
    Example
    Access TIN Elements By Index
    using (ArcGIS.Core.Data.Analyst3D.TinNode node = tinDataset.GetNodeByIndex(23))
    {
    
    }
    
    using (ArcGIS.Core.Data.Analyst3D.TinEdge edge = tinDataset.GetEdgeByIndex(45))
    {
    
    }
    using (ArcGIS.Core.Data.Analyst3D.TinTriangle triangle = tinDataset.GetTriangleByIndex(22))
    {
    
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also