Hi All,
New to ESRI and New to Python.
I'm trying to find out if it's possible to turn angles of 0,90,180,270, from a defined line / polyline .startpoint and .endpoints with distance based on whatever the line direction is. Using the direction of the line / polyline object, either start to end or end to start to define what end I want to use, and what direction I'm going.
I'm looking to be able to do Three things, first, use the cursor tool to loop thru all the, in my case (centerlines) layer and draw new polylines, see attached figure. Getting started I can hard code the angle and distance to draw. in the end,
I'd like to get those values from a field.
Second, the same draw function, but this time, I want to select a single (centerline) by some name field and be able to draw from a selected end. either .startpoint or .endpoint. with a supplied distance and create something like what is in the attached pdf.
Third, same as number 2, but the .startpoint and .endpoints locations or direction would come from a text file.
Read text file, startpoint .endpoint, distance to go, angle to use, create new point.
{startpoint}, {endpoint},{Distance}, {create new point}, draw polyline from points.
This is my first attempt with Python. First week. It looks pretty powerful, Hopefully someone can point me to some samples that do similar tasks, so I can get stated automating a few tasks. Hopefully what I'm trying to do makes sense.
Thanks
John