I want to find out and select the features of one feature class, which both endpoints touch another feature class. enter image description here

In the picture above it would be the left pink line which touches feature of another feature class on both ends.

The best would be, if there is a way to find out the right features automatically. This question ( Distinguishing lines that intersect from lines that touch? ) could also be a solution, but I have difficulties using the Python Script. I want to use this as a script tool but I don't know how to select parameters. I thought they will be added automatically after adding the Python script, but it didn't work out.

How can I do this?

closed as off-topic by PolyGeo Apr 4 '16 at 22:27

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    If you're having troubles with the solution to the other question, you'd be best served by editing the question to explain what exact difficulty you are experiencing. – Vince Mar 7 '16 at 12:31
  • Sorry. You're right. – Jonas Mar 7 '16 at 12:37