logsplitter Posted December 22, 2011 Posted December 22, 2011 Attached is a routine I use in conjunction with PDFCreator to batch print pdf drawings. The problem is I use Bricscad V12 and the latest changes they made have made this routine shut down because "qprint" is no longer using "previous" plot variable. I was wondering if any of you gurus out there might know how to adapt it to the "plot" command? I figure using a script might be the way but don't know how to insert it. Any ideas? Thanks ahead for any input! Below is the routine. Code bprint: (defun C:BPRINT (/ ) (if (not dos_dir) (arxload "DOSLib11.brx")) (setq files (dos_getfilem "Select files to print.." "C:\\""Drawing Files (*.dwg)|*.dwg")) (setq dwgpath (car files)) (if (/= files nil) (progn (foreach dwgfile (acad_strlsort (cdr files)) (command ".open" (strcat dwgpath dwgfile)) (command ".qprint") (command ".qsave") (command ".close") ) ) ) ) Quote
SLW210 Posted December 22, 2011 Posted December 22, 2011 Please read the CODE POSTING GUIDELINES Quote
BIGAL Posted December 29, 2011 Posted December 29, 2011 Instead of qprint use the normal print and add all the settings required to plot a window and it should work. Search for some of the PDF plot routines for the code examples. Look under BIGAL Quote
BIGAL Posted December 29, 2011 Posted December 29, 2011 Start here http://www.cadtutor.net/forum/showthread.php?21460-Plot-PDF-layout-name&highlight=plot+pdf 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.