Midpoint of a line?

Discussion created by gabrisch on Jul 6, 2011
Latest reply on Jul 7, 2011 by gabrisch
I would like to use Python to get the midpoint of a line.

There are a number of geometry properties that will return the centroid, the label point�?�

�?�but what I am looking for is the coordinate values of the position which is exactly halfway along the line�??s length.

It is possible to calculate the midpoint using the calculate geometry functions by right clicking a new field in the attribute table and selecting calculate geometry, but I can find no way to get that calculation into a Python code block.
Any ideas?