The tool will keep running indefinately if a feature with a non-integer field is found at the first place, index 0. First field needs to be an int so when used with the near feature the tool is able to reselect given feature with whatever ID were found and placed inside NEAR_FID generated field from Arc.
Temporaly added a new input for user to select id field so the tool works with the given datasets that isn't coming from Arc.
The tool will keep running indefinately if a feature with a non-integer field is found at the first place, index 0. First field needs to be an int so when used with the near feature the tool is able to reselect given feature with whatever ID were found and placed inside NEAR_FID generated field from Arc.
Temporaly added a new input for user to select id field so the tool works with the given datasets that isn't coming from Arc.