ContourItems Example

Land Auto

ContourItems Example

Sub Example_ContourItems()
    
    ' This example returns the number of ContourItems 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 ContourItems in the first Surface is: " & surfIn.ContourItems.Count, _
        vbInformation, "ContourItems Example"
    
End Sub