PyCDC.GetCurrentPosition

(x, y) = GetCurrentPosition()

Retrieves the current position (in logical coordinates).