Message 1 of 15
Publish to separate PDFs (using routine)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there,
I have this simple nice routine to customize (Export to separate DWG with customize extension),
Can anyone adapt it to (Publish to separate PDF with customize extension)
*here is the script:
(defun c:ltodwg ( / base old_dia)
(if (null LM:browseforfolder)
(load "BrowseForFolderV1-3")
)
(if (setq base (LM:browseforfolder "Select a folder" " C:\\" 1))
(progn
(setq old_dia (getvar 'FILEDIA))
(setvar 'FILEDIA 0)
(setq base (strcat base "\\" (vl-filename-base (getvar 'DWGNAME))))
(foreach lay (layoutlist)
(command "_.ctab" lay "exportlayout" (strcat base "-" lay "_CAD_2021"))
)
(setvar 'FILEDIA old_dia)
); progn
); if
(princ)
apreciation.