Results 1 to 2 of 2

Thread: plot pdf to current folder in LT

  1. #1
    Login to Give a bone
    0

    Default plot pdf to current folder in LT

    Hi I use the following code to create a pdf file in the current drawing folder with the click of one button.

    Code:
    ^C^C(setvar "filedia" 0)
    (setq fileloc (strcat (getvar 'dwgprefix) (vl-filename-base (getvar 'dwgname)) ".pdf"))
    -export
    pdf
    extents
    no
    !fileloc
    (setvar "filedia" 1)

    This works well for me and my boss would like something similar but he is using AutoCAD LT my method of setting the file name and location does not work. Any ideas to make this work in LT?

    Thanks

  2. #2
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: plot pdf to current folder in LT

    Since LT doesn't do LISP, yu'll need to look into Scripting . possibly with some Diesel to create the pdf filename?

Similar Threads

  1. Replies: 13
    Last Post: 2018-03-13, 12:52 AM
  2. Plot Styles Folder nowhere to find
    By walkinglikerain in forum AutoCAD General
    Replies: 7
    Last Post: 2010-10-26, 10:31 AM
  3. Create a Plot Log in each Project folder
    By ch00su in forum AutoCAD Plotting
    Replies: 1
    Last Post: 2006-08-23, 12:30 AM
  4. Plot without waiting for current plot to finish
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2006-05-31, 10:14 PM
  5. Saveas to open in current folder
    By jsr13 in forum AutoLISP
    Replies: 1
    Last Post: 2005-08-19, 04:34 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
  •