Select to view content in your preferred language

How create a line that go through to point and stop at the board of a Polygon, using toolbox

214
3
3 weeks ago
DonatellaMarino1
New Contributor

Hi all,

I hope I can find here a solution. It seems a pretty simple issue, but with Toolboxes it's becoming difficult.

I'm working with a Model Builder and one of the first steps is to create a line that goes from two fixed points and extends to the boundary of the polygon in which it is contained.  Pretty much like this: 

DonatellaMarino1_0-1745826965055.png

I already used the Toolbox "Points to Line" to create automatically the Line, but the extention to the Polygon it' still difficult and the Tollbox "Extend Line" doesn't work. Do you have any suggestion? I'm running out of ideas.

Thanks for any Tipps.

Donatella

 

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

If the polygon exists,

Snap (Editing)—ArcGIS Pro | Documentation

snap to edge perhaps


... sort of retired...
JohannesBierer
Frequent Contributor

if snap doesn't work in the link could be a python solution?

https://community.esri.com/t5/python-questions/extend-line-up-to-polygon-feature/td-p/705806

PandiyanKesavan
Emerging Contributor

Hi Donatella,

I have tried to follow the procedure to create line from inside the polygon.

1. Point to Line Tool

2. Extend or Trim Tool in Editing Tools

Use these steps to create that.

To automate this use python