Faces Example

Land Auto

Faces Example

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