Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Wrote a simple lisp that allows me to bring in the tabs from a template into my current drawing. The lisp brings in everything I need EXCEPT for the xref pdf underlays, which do not appear at all. Is there another step I can write into the lisp to bring those in?
(defun c:STDGENSUP (/ BNAME LAYOUTNAME acadObj adoc ss AcDbBlkRef)
(command "layout" "template" "C:\\Users\\AppData\\Local\\Autodesk\\AutoCAD 2020\\R23.1\\enu\\Template\\BUP_Supplemental-sheets-template.dwt" "R-616"
"layout" "template" "C:\\Users\\AppData\\Local\\Autodesk\\AutoCAD 2020\\R23.1\\enu\\Template\\BUP_Supplemental-sheets-template.dwt" "R-608"
"layout" "template" "C:\\Users\\AppData\\Local\\Autodesk\\AutoCAD 2020\\R23.1\\enu\\Template\\BUP_Supplemental-sheets-template.dwt" "R-609")
(command "layout" "rename" "R-616" "R-601"
"layout" "rename" "R-608" "R-602"
"layout" "rename" "R-609" "R-603" )
(vla-endUndoMark adoc)
(vlax-release-object adoc)
(setvar "cmdecho" 1)
(princ)
); c:STDGENSUP
Above is the code I have, and I've attached the template Im bringing the tab pages from. I appreciate any guidance.
Solved! Go to Solution.