# Name: DisableDerivedMeasureFields_ex1.py
# Description: Disable fields that store the derived network route id, route name and measure fields.
# Requires: ArcGIS Location Referencing
# Tool variables
in_feature_class = r"C:\DisableDerivedMeasureFields\Py\APR.gdb\LRS\EventFeatureClass"
# Set current workspace
arcpy.env.workspace = r"C:\DisableDerivedMeasureFields\Py\APR.gdb"
# Run the tool
arcpy.locref.DisableDerivedMeasureFields(in_feature_class)