All the Python examples to work with geometry are for point features. Would someone please tell me how I can get the measure (not length) from a route feature class?
All the Python examples to work with geometry are for point features. Would someone please tell me how I can get the measure (not length) from a route feature class?
Your help is greatly appreciated.
Fardosht
If all you want is the beginning or ending measure value of a line the code in the Field Calculator that works using Python (if you have 9.3 or up) is one of the following:
!Shape.FirstPoint.M! !Shape.LastPoint.M!
If you are wanting the measure at any point along the line I am not really sure if Python has an interface that replicates the ArcObjects IRouteLocator and IRouteLocation functionality.