DEMFiles Example

Land Auto

DEMFiles Example

Sub Example_DEMFiles()
    
    ' This example returns the number of DEMFiles in the first
    ' surface in the collection.
    Dim surf As AeccSurface
    Dim surfIn As AeccSurfaceInputs
    Set surf = AeccApplication.ActiveProject.Surfaces.Item(0)
    Set surfIn = surf.Inputs
    
    MsgBox "The number of DEMFiles in the first Surface is: " & surfIn.DEMFiles.Count _
        , vbInformation, "DEMFiles Example"
    
End Sub