So the program will choose the paper "EN ISO 5457 A3 (420.00 x 297.00 mm)". In fact, this is the trick!įor example, in the attached drawing "TEST.dwg" the Layout named "K 01" is set as follows: LIMMIN=0,0 and LIMMAX=420,297. Paper name will be set internally by the program if the values of LIMMAX are found in the name of the paper. In order to test the program, you must install the plotter above. Options: Plotter EN ISO 5457.pc3 (attached - requires customization), Limits, Center on paper, Millimeter, Landscape, Scale 1:1. The program is as simple as possible.Īll you have to do is to select as many drawings you want and what to plot: Model, Layouts or None. The solution that I use involves a SCRIPT file. (princ (strcat "\nAUTOMATICPUB variable is set to \"" (rtos(getvar "AUTOMATICPUB")) "\" " )) ( CHANGES THE AUTOMATIC PUBLISH VARIABLE (setq tmp (vl-filename-mktemp nil nil ".dcl")) (defun LM:listfort ( msg lst bit / dch des tmp rtn ) Returns: List of selected items/indexes, else nil Displays a DCL list box allowing the user to make a selection from the supplied data. (if (/= "MODEL" (strcase (vla-get-name x))) (vlax-for x col (setq lst (cons (vla-get-name x) lst))) (LM:listfort "Select Page Setup to Apply" (setq doc (vla-get-activedocument (vlax-get-acad-object)) (defun c:SET-PG-LAY ( / col doc itm lst ) SET-PG-LAY => SETS PAGE LAYOUT FOR ALL TABS I read about the discussions on this platform between could not make the combined pdf. The question is: how can I combine single PDFs with their correct layout names into one pdf file with the project name? Shout out to LEE MAC, BIGAL, ROY_43 for their earlier responses and helping me get started. I would like basically the "PDF-SELECTION" option to select page setup, then select layout, then create and combine PDF. I tried to use ghostscript but with no success - I then jupmed in to use another application as shell command (PDFTK builder) but that did not panout either. Upon entering "PUB" command I would have three options (1st one uses autopub) (second is the one with the problem) (3rd only sets the correct page setup). I had a problem in the past whereby the first page appeared blank and I pulled out my hair to fix it - now that this problem is over I am back to yet give it another try to see if I can make this routine successful.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |