I need to change names of stops/barriers from default GraphicPick1, GraphicPick2... to something more appropriate. It is easy to set default value for Name property in route layer properties but is it possible to set increasing index for every new loaction (for instance: Point1, Point2, Point3...).
Thank you for answering. Script you sent is OK but what I need is that points are named automatically when user adds stop on the map. This way, when user adds stop at the map, stop gets default name (Graphic Pick1, Graphic Pick 2...) and after that script needs to be started in order names to be changed. Entering default name in route properties raises a problem that all stops are named identically and that can be confusing for users.