If you are wondering how to import a named Layout into the current drawing file using LISP in AutoCAD, here you go.
LISP code snippet below, demonstrates how to import a layout named "ABC" from a selected DWG file to the current drawing file.
(defun C:LayoutImport()
;; Select a DWG file to import a Layout
(setq myFile (getfiled "Select your DWG File:" " " "dwg" 8))
(command"layout" "t" myFile "ABC")
(alert "New Layout is inserted!")
(princ)
)
After executing the above LISP code, you would see a new Layout named “ABC” is imported to the current DWG –