So I have been tasked with setting up something for back fixing layers. at the end of all this I plan on using the "laytrans" command to have the user decide what layers they want transferred. A corrected template is already provided and I know what layers should exist in the drawing, but I need to provide a list of layers that don't belong. So first thought was to use this
to grab all my layer names. This is functioning as I expected but how do I remove the good layers from this list by their name? Thanks for the help in advance!
(setq lay (tblnext "LAYER" T))
(setq lay_lst (cons (cdr (assoc 2 lay)) lay_lst)
lay (tblnext "LAYER")))