Hi, anyone know how to write a lisp that when i activate it, it will change all the objects in the drawings to be change to "Layer 0" and all linetypes "Dashed" change to be "hidden"...
Solved! Go to Solution.
Solved by Kent1Cooper. Go to Solution.
Solved by lai. Go to Solution.
@lingam2904 wrote:
I would like to change the linetype in the "E-Switching" layer from "Hidden" to "Continuous" by executing a lisp program. can anyone assist how to resolve the above.
....
Welcome to the Forums! A little off the Subject of this thread, but a simple Layer command will do it. Put into AutoLISP terms:
(command "_.layer" "_ltype" "Continuous" "E-Switching" "")
Or, defined as a command, so you can type a command name to do it:
(defun C:Whatever ()
(command "_.layer" "_ltype" "Continuous" "E-Switching" "")
)
Put that into a file with a .lsp filetype ending, and load it using APPLOAD to make the command available.