See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Quick Plot to PDF Macro

  1. #1
    Active Member
    Join Date
    2015-10
    Location
    Chicagoland
    Posts
    73
    Login to Give a bone
    0

    Question Quick Plot to PDF Macro

    I am writing Macros to quickly plot using a pre-defined page setup to implement into my company's ribbon that I've been building and constantly improving on. I'm writing macros, because that's all I currently know and don't have time to learn anything else right now.

    My macro so far is this:
    Code:
    -plot;n;;<page setup name>;;\n;y;
    It works fine, but when I execute, I have no control over WHERE the file is saved. The \ is allowing me to enter the PDF name, but not it's location.

    How can I bring up the dialog to specify the PDF's save location AND name?

    Thank in advance,
    Shawn
    Last edited by BlackBox; 2014-03-18 at 03:30 PM. Reason: Please use [CODE] Tags

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,105
    Login to Give a bone
    0

    Default Re: Quick Plot to PDF Macro

    You might try adding a tilde "~" after the \. This should bring up the file dialog box.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Active Member
    Join Date
    2015-10
    Location
    Chicagoland
    Posts
    73
    Login to Give a bone
    0

    Default Re: Quick Plot to PDF Macro

    Over the weekend I found that out via a different forum, and it worked. Now, I am trying to control what folder that prompt defaults to. If I can get it to at least open to the previously plotted location, that will work perfect.

  4. #4
    Active Member
    Join Date
    2015-10
    Location
    Chicagoland
    Posts
    73
    Login to Give a bone
    1

    Default Re: Quick Plot to PDF Macro

    I did find out that my PDF was trying to save into the 'My Documents' folder every time because it was an unsaved file. Once I saved the file, or opened a new one, the prompt defaulted to the DWG's folder location (which is on a file server). Much easier than navigating from My Documents.

Similar Threads

  1. Quick Plot
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2014-10-23, 01:00 PM
  2. Macro 8x11 PDF quick button
    By mattr.143859 in forum AutoLISP
    Replies: 0
    Last Post: 2012-10-03, 08:02 PM
  3. Quick Plot
    By sigmaman88 in forum VBA/COM Interop
    Replies: 1
    Last Post: 2010-04-27, 07:56 PM
  4. Page Setup in Plot macro is not being used
    By rolibolibo in forum AutoCAD Customization
    Replies: 4
    Last Post: 2007-06-04, 01:51 PM
  5. Plot macro occasionally stops before processing
    By rich.jozwiak in forum AutoCAD Plotting
    Replies: 2
    Last Post: 2005-05-11, 07:27 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
  •