Using the below code I draw line, my problem is each time name of the lines is same, Is it any way to change it, If the name already is there the name should change. eg: If the line name is LI then when I draw new line it's name change to LI1 and so on. How I solve this problem ?
Code: Select all
set the style of the templateGraphic to "line"
choose graphic tool
set the name of the templategraphic to "LI"
Kevin