Here is what I have so far
Code: Select all
loop = 1
i = 0
WHILE loop
tv_LayerGetID i
curLID= result
IF CMP(curLID,"NONE")==0
tv_LayerInfo curlID
PARSE result layerDisplay layerPosition layerOpacity layerName layerType layerStart layerEnd layerPrelighttable layerPostlighttable layerSelection
tv_layercolor "get" curlID
curlCOL = Result
IF CMP(layerDisplay,"On")==1
IF CMP(curlCOL,"1") || CMP(curlCOL,"4") || CMP(curlCOL,"3")
SKarray[i] = curlID
tv_LayerDisplay curlID Off
END
END
i= i+1
ELSE
loop= 0
END
END