ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing.COGO Namespace / Traverse Class / AddCourses Method
A set of COGO lines.

In This Topic
    AddCourses Method
    In This Topic
    Adds a set of COGO lines to the traverse. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub AddCourses( _
       ByVal cogoLines As IEnumerable(Of COGOLine) _
    ) 
    public void AddCourses( 
       IEnumerable<COGOLine> cogoLines
    )

    Parameters

    cogoLines
    A set of COGO lines.
    Exceptions
    ExceptionDescription
    COGO line is null.
    The first item in cogoLines is not the appropriate type to be the first course.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also