Code: Select all
//======= GET ID =======//
tv_LayerGetID 0
Lid = Result
tv_layerstencil Lid
PARSE result Lid STon STstyle
IF (STon == "on")
PRINT "It is on"
ELSE
PRINT "It is off"
END
Code: Select all
//======= GET ID =======//
tv_LayerGetID 0
Lid = Result
tv_layerstencil Lid
PARSE result Lid STon STstyle
IF (STon == "on")
PRINT "It is on"
ELSE
PRINT "It is off"
END