Skip To Content

Disable COGO


Disables COGO on a line feature class. Existing COGO fields can be deleted.


  • Disables the following COGO fields on the selected line feature class: ArcLength, Direction, Distance, Radius, and Radius2. These fields can be deleted.

  • Removes COGO-related labeling and symbology from the selected line feature class.

  • If there are no COGO fields on a line feature class, the Traverse tool will not store any entered dimensions.

    Learn more about the Traverse tool

  • COGO fields can be enabled with the Enable COGO tool.


DisableCOGO_management (in_line_features)
ParameterExplanationData Type

The line feature class that will have COGO disabled.

Feature Layer

Code sample

DisableCOGO example (Python window)

The following Python window script demonstrates how to use the DisableCOGO tool in immediate mode.

import arcpy
arcpy.env.workspace = r"E:\ArcGISXI\Mont\Montgomery.gdb"
DisableCOGO example 2 (stand-alone script)

The following stand-alone script demonstrates how to check for and disable COGO on a line feature class.

import arcpy

#Variable to contain the path of the feature class that will have COGO disabled
lineFeatureClass = r"d:\test.gdb\myLineFC"

#Check to see if the feature class is already COGO enabled by using .isCOGOEnabled on a Describe
if arcpy.Describe(lineFeatureClass).isCOGOEnabled == True:
    #If it returns True, run DisableCOGO_management and pass the feature class
    print("{} is not COGO Enabled".format(lineFeatureClass))


This tool does not use any geoprocessing environments.

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics