MeanElevation Example

Land Auto

MeanElelvation Example

Sub Example_MeanElevation()
    
    ' This example returns the MeanElevation for the first surface in the collection.
    Dim surf As AeccSurface
    Set surf = AeccApplication.ActiveProject.Surfaces.Item(0)
    
    MsgBox "The MeanElevation for the first surface is: " & Format(surf.MeanElevation, "0.00"), _
        vbInformation, "MeanElevation Example"
    
End Sub