Create an api that would prompt the user to create a line
After the first point is selected, there would be the same temporary dimensions and graphics that are shown when you create a line via the UI
This would be better than calling PickPoint twice and not having any temporary graphics.