(layoutlist) ... returns a list of strings of the layout tabs in the drawing.
I've used this ages... Isn't it a core lisp function, or is it coming from express tools or somewhere else?
Solved! Go to Solution.
I see... I took the phrasing of your OP to mean "core" = basic, standard, vanialla AutoLISP (i.e. no Visual LISP, etc.), and not core console.
Having read your recent post in your AcCoreConsole thread, this makes much more sense to me now... I'll be interested to see what becomes of it.
I found what I needed... the below works in AcCoreConsole.
(defun GetLayoutListACoreConsole ()
(defun massoc (key alist / x nlist)
(foreach x alist
(if (eq key (car x))
(setq nlist (cons (cdr x) nlist))
(massoc 3 (dictsearch(namedobjdict)"acad_layout"))
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register