CAD_Question Posted April 10, 2019 Posted April 10, 2019 Hi, I would like to make a lisp routine that will create page setups for multiple drawings in model space. Has anyone tackled this before? If so, what would the lisp routine look like? Quote
ronjonp Posted April 10, 2019 Posted April 10, 2019 Create your setups in a template then import them using something like this: (defun c:pagesetups (/ dwt) (cond ((findfile (setq dwt "X:/Your/Shared/Path/YourTemplate.dwt")) ;; Remove plot configs (vlax-for x (vla-get-plotconfigurations (vla-get-activedocument (vlax-get-acad-object))) (vla-delete x) ) (setvar 'filedia 0) (vl-cmdf ".-psetupin" dwt "*") (setvar 'filedia 1) ) ) (princ) ) Quote
maratovich Posted April 10, 2019 Posted April 10, 2019 Everything is already there: Revers - Automatic batch printing a multiple format (rectangles, frames) of model space and layouts. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.