Select objects, change layer, turn off other layers and recolor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
ACAD 2022
I do this same process tons of times in a day and I'm looking for a way to speed up the process, any help would be very much appreciated.
Not sure how to write this LISP, but I'm obviously doing something wrong. Ultimately, I'm trying to start LISP, select multiple objects hit enter and then it changes the selected objects to layer "00FORM", double the object size, turn off another layer and change the color of another layer. The current coding doesn't even touch resizing at the moment, but if I could get everything else to work would be great.
(defun c:FDERT (SELECT OBJECTS, CHANGE OBJECTS LAYER, TURN OFF LAYER / A)
(princ "\nSelect Points ")
(setq A (ssget))
(vl-cmdf "._change" A "" "_p" "_la" "OOFORM")
(command "_LAYER" "_OFF" "SHOT" "_F" "SHOT"
"_C" "255" "0ELEV,PNTELEV" "")
(princ)
)