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