joe
Guest
check this lisp please
(defun c:crealay()
(setq var)
(getstring "\ninseriting the layer name: ")
(command "_layer" "_n" var")
(Sectq
(getstring "\ninseriting color for questo layer: ")
(command "_layer" with var ")
(Sectq var nil)
(setq with nil)
(princ)
)
I would like to put in place of "questo layer"the name inserted" and then make sure that if there is already some other similar name, the request repeats
Could you help me out, please?
(defun c:crealay()
(setq var)
(getstring "\ninseriting the layer name: ")
(command "_layer" "_n" var")
(Sectq
(getstring "\ninseriting color for questo layer: ")
(command "_layer" with var ")
(Sectq var nil)
(setq with nil)
(princ)
)
I would like to put in place of "questo layer"the name inserted" and then make sure that if there is already some other similar name, the request repeats
Could you help me out, please?