Hello again.
I wonder if the Lisp can be edited so that the EVAC-ROUTE layer is set not to print? (Layer Properies Manager> no-plot function).
|
Hello again.
I wonder if the Lisp can be edited so that the EVAC-ROUTE layer is set not to print? (Layer Properies Manager> no-plot function).
Sure it can. I'm not going to code that, though. Please look at the Create Layer function in the posted code. It starts off with
Somewhere in that function, you could add the necessary code to handle this request.Code:;;|||||||||||||||||||||||||||||||||| ;; Create Layer ;; Function provided by others ;;|||||||||||||||||||||||||||||||||| (defun MLAYC
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
On Opie permit
;; Create Layer
;; Function provided by others
;;||||||||||||||||||||||||||||||||||
(defun
MLAYC
(LAYNAME COLOR)
(if (= NIL (tblsearch "layer" LAYNAME)) ; check if LAYER exist
(command "-layer" "m" LAYNAME "c" COLOR "" "")
;if not exist, create LAYER
(progn
(command "-layer" "t" LAYNAME "") ; Thaw LAYER
(command "-layer" "on" LAYNAME "") ; Turn on LAYER
(command "-layer" "s" LAYNAME "") ; Set LAYER CURRENT
(command "-layer" "P" "n" LAYNAME "");set layer to NO PLOT
)
)
)
You're great. Thank you for your time.
Primus.