ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing.COGO Namespace / Traverse Class / AddCourse Method
The COGOLine to add to the traverse.

In This Topic
    AddCourse Method
    In This Topic
    Adds a new COGO line to the traverse. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub AddCourse( _
       ByVal cogoLine As COGOLine _
    ) 
    public void AddCourse( 
       COGOLine cogoLine
    )

    Parameters

    cogoLine
    The COGOLine to add to the traverse.
    Exceptions
    ExceptionDescription
    cogoLine is null.
    cogoLine 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