Tv guidelineenum
From TVPaintWiki
<<<George<<<Command Reference<<<Guidelines
//returns number < 0 if error //returns the index of the found guideline at the given position in the whole list //returns "none" if no guideline found //in this first case, the returned index = given position tv_guidelineenum position //returns the index of the found guideline at the given position in the list made of the wanted type //returns "none" if no guideline found tv_guidelineenum position "line"|"circle"|"segment"|"grid"|...
e.g.: list of guidelines - 0 line - 1 segment - 2 circle - 3 circle - 4 segment - 5 line
tv_guidelineenum 0 "circle" -> 2 tv_guidelineenum 1 "circle" -> 3 tv_guidelineenum 2 "circle" -> "none" tv_guidelineenum 0 "segment" -> 1 tv_guidelineenum 1 "segment" -> 4