Hi,
I am trying to write a for loop that iterates line generation for 4 compass directions, using the "Bearing Distance to Line" tool on ArcGIS Notebooks.
Bascically, I want to input 4 fields into the line "Bearing field". I have stored the 4 fields in a list named "Dirfields". I'm trying to use this list as an input for "Bearing Field".
Any idea on how can I achieve this workflow? I have attached a photo of the Bearing Distance to line dialog box and an excerpt from my script. Please let me know if there is anything else I can provide.
Thank you
In your first link, the second part
DiFields shouldn't that be DirFields ?
Format your code to help others be able to help you
Code formatting ... the Community Version - Esri Community
Yes Dan it should. Thanks for the input.
I still would like to know how to use the list as the input for the "Bearing field" so I can achieve iteration.
I will also repost after fixing the post to the abide by the guidelines....many thanks.