# Name: CalculateIntersectingRouteMeasures_Pro_ex1.py
# Description: Creates a table of all the routes and measures at each intersection location in the Python window.
# Requirements: ArcGIS Location Referencing
# Local tool variables
in_intersection_feature_class = r"C:\Data\SampleData.gdb\LRS\Intersection"
out_dataset = r"C:\Data\SampleData.gdb\LRS\IntersectingRouteMeasures"
tvd = "11/23/2022"
# Run the tool
arcpy.locref.CalculateIntersectingRouteMeasures(in_intersection_feature_class, out_dataset, tvd)
# Name: CalculateIntersectingRouteMeasures_Pro_ex2.py
# Description: Creates a table of all the routes and measures at each intersection location in a stand-alone script.
# Requirements: ArcGIS Location Referencing
# Import arcpy module
import arcpy
# Local tool variables
in_intersection_feature_class = r"C:\Data\SampleData.gdb\LRS\Intersection"
out_dataset = r"C:\Data\SampleData.gdb\LRS\IntersectingRouteMeasures"
tvd = "11/23/2022"
# Run the tool
arcpy.locref.CalculateIntersectingRouteMeasures(in_intersection_feature_class, out_dataset, tvd)