How to use set deflection(right click while drawing lines) through arcpy?

756
1
10-04-2016 12:13 AM
KarunDayal
New Contributor

The set deflection option can be used to create a segment at a positive or negative angle from a an existing line segment. This is exactly what I need but with the ability to run it several times in a loop.

In this case the vertex of the starting point is selected and the reference line segment is selected and 'set deflection' option is used to constrain the line to be drawn in a particular direction.

Bearing distance to line is very static. You have to specify every parameter. Can somebody guide me to use it dynamically? So I can change the directions values while iterating.

0 Kudos
1 Reply
DanPatterson_Retired
MVP Esteemed Contributor

You have this published in arcpy and python.  Can you show your code then?

0 Kudos