Results 1 to 2 of 2

Thread: need LISP for publishing all layouts

  1. #1
    Member
    Join Date
    2017-08
    Posts
    3
    Login to Give a bone
    0

    Default need LISP for publishing all layouts

    hello everyone. I am looking for a LISP that will Publish all layout tabs (i need them to be in one PDF file) with the settings i have listed below from an attempt i did on my own which worked great.. for one layout lol. but i need all of them to publish rather than plot.

    I would also like for the command to ask where i want to save the file (via the command line) so i can specify that automatically as i will be running this command through a vb.net application and will know the place it needs saved each time through that.

    yes, i have tried the publishing through vb.net alone without using lisp but i just have spent way to much time on it unfortunately. I think if i get one LISP that works for the below settings, i can then simply edit those settings for each paper size and such that ill be needing.

    let me know if there is anything i can explain better about what im looking for and thankyou in advance!!!

    Code:
      (COMMAND 	"_-PLOT"
    		"_Y"
    		"22x34 PDF"
    		"Adobe PDF"
    		"ANSI D"
    		"Inches"
    		"LANDSCAPE"
    		"_N"
    		"_E"
    		"_f"
    		"_C"
    		"_Y"
    		"thecompany.ctb"
    		"_Y"
    		"_N"
    		"_N"
    		"_N"
    		""
    		"_N"
    		"_y"      )
        )

  2. #2
    I could stop if I wanted to
    Join Date
    2003-07
    Posts
    337
    Login to Give a bone
    0

    Default Re: need LISP for publishing all layouts

    Here is a couple of options plots range of layouts, the second version uses ghostscript to combine the pdf's. Need multi getvals.lsp as entry for dcl. You will need to edit the code to match the parameters as in your code. Note code uses a window not extents and fit.
    Attached Files Attached Files

Similar Threads

  1. Publishing sends all other windows to background
    By toddbatterman in forum AutoCAD Plotting
    Replies: 1
    Last Post: 2010-01-30, 12:19 AM
  2. Specify Layouts when Publishing
    By IanR in forum AutoCAD Wish List
    Replies: 4
    Last Post: 2007-09-12, 10:14 PM
  3. LISP ROUTINE TO ERASE ALL PAPERSPACE LAYOUTS
    By stephen.coff in forum AutoLISP
    Replies: 5
    Last Post: 2007-07-16, 11:57 AM
  4. Replies: 3
    Last Post: 2007-01-15, 02:29 PM
  5. Replies: 2
    Last Post: 2006-07-24, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •