Edges Example

Land Auto

Edges Example

Sub Example_Edges()
    
    ' This example returns the number of Edges in the first
    ' surface in the collection.
    Dim surf As AeccSurface
    Dim surfOut As AeccSurfaceOutputs
    Set surf = AeccApplication.ActiveProject.Surfaces.Item(0)
    Set surfOut = surf.Outputs
    
    MsgBox "The number of Edges in the first Surface is: " & surfOut.Edges.Count _
        , vbInformation, "Edges Example"
    
End Sub