zintonio
Guest
Hello.
I would like to create the list of certain layers and I sketched a lisp function but it doesn't work maybe wrong something. the lisp that I sketched is as follows:
(defun c:clistalayer (/ listlayer layer)
(setq entlayer (tblnext "layer" t)
(sing)
(progn)
(setq layer)
(if) (substr layer 1 1) "d")
(setq listlayer)
)
)
)
(setq listlayer listlayer)
)
It's like I'm in the while and it's gone.
My goal is to create a list of all layers whose name starts for example (d1, d2, etc.)
Thank you.
I would like to create the list of certain layers and I sketched a lisp function but it doesn't work maybe wrong something. the lisp that I sketched is as follows:
(defun c:clistalayer (/ listlayer layer)
(setq entlayer (tblnext "layer" t)
(sing)
(progn)
(setq layer)
(if) (substr layer 1 1) "d")
(setq listlayer)
)
)
)
(setq listlayer listlayer)
)
It's like I'm in the while and it's gone.
My goal is to create a list of all layers whose name starts for example (d1, d2, etc.)
Thank you.