Pinzy
Guest
Good morning.
guys are new to the forum, thank you in advance for availability.
I explain to you practically I created several scripts in lisp that allow me to browse the layers by increasing and decreasing, currently I am stuck in this situation:
I have 6 layers from 0 to 6, my script starts the layers from "1" the "0" I don't consider it, when I load my script that decreases it makes me double jump, instead of going on layer 6 passes to 5.
Also I would like that every time I step from one layer to another the previous one is frozen and thawed the next making it current.
I'll take my script code down, I don't understand why it's not from 1 to 6, but it's 1 ->5
(setq index2 index)
(if (= indexmin)
(setq indexmax)
(progn)
(setq index2 index)
(setq i)
(Sectq i (- i 1))
(setq index (i))
(command "_layer" index ")
(command "_layer" "r" index")
(command "_layer" "_f" index2 ")
)
)
guys are new to the forum, thank you in advance for availability.
I explain to you practically I created several scripts in lisp that allow me to browse the layers by increasing and decreasing, currently I am stuck in this situation:
I have 6 layers from 0 to 6, my script starts the layers from "1" the "0" I don't consider it, when I load my script that decreases it makes me double jump, instead of going on layer 6 passes to 5.
Also I would like that every time I step from one layer to another the previous one is frozen and thawed the next making it current.
I'll take my script code down, I don't understand why it's not from 1 to 6, but it's 1 ->5
(setq index2 index)
(if (= indexmin)
(setq indexmax)
(progn)
(setq index2 index)
(setq i)
(Sectq i (- i 1))
(setq index (i))
(command "_layer" index ")
(command "_layer" "r" index")
(command "_layer" "_f" index2 ")
)
)