PDF Output In Same Folder

Anonymous

PDF Output In Same Folder

Anonymous
Not applicable

Hallo,

 

This is not really for a batch plot issue. Whenever I convert single file I have to spend lot of time to show the saving location, So Is there an way to simply select the root folder or same folder where the Cad Data exits

 

Thanks in advance.

 

Regards

Shameem

 

0 Likes
Reply
Accepted solutions (1)
13,297 Views
13 Replies
Replies (13)

imadHabash
Mentor
Mentor

Hi,

 

if i understand your need right; you can specify folder location from Publish dialog where ever you want.

 

frd.png

 

also you can specify Auto Publish Settings from Option command --> plot and publish tab as shown below:

 

gth.png

 

Regards,

Imad Habash

EESignature

0 Likes

Anonymous
Not applicable

thanks for the reply, 

 

For batch plot it can be done easily. I just want to do for individual plots

But for individual output it goes as my documents are default location. Is there any way to change to Cad destination folder.

 

Thanks

Shameem

 

0 Likes

imadHabash
Mentor
Mentor

can we know the way that you make your individual plots? because in all pdf plotter existing in AutoCAD when you finish all of your settings in plot dialog and press OK ... another dialog appear( Browse for Plot File) asking you to save the file.

Imad Habash

EESignature

0 Likes

Vinayv4v
Advisor
Advisor
Accepted solution

Hi,

 

You can change the default location using Exportpdf>options.

But it is difficult to set location as default for this file to default cad file location. But you can do it using a Lisp command.

I have attached a Lisp command which you can use just before plotting. So the default location for the dwg to pdf will be as per your last cad file saved location.

 

Lisp from Scot H

 

(defun c:PPATH ()

 (setenv "PlotToFilePath" (getvar "DWGPREFIX"))

 (princ "\n Plot path now matches Drawing path. ")

 (princ)

)

 

Manually invoke this command just before plotting. The file will be saved to the drawing file location.

 

Thanks & Best Regards

Cheers,

Vinay Vijayakumaran

Anonymous
Not applicable

Thanks.. This Works.. At least I can Avoid lot of clicks to show the saving path location

 

Thank you so much. Really Appreciated.

 

Regards

Shameem

 

Anonymous
Not applicable

This didn't work for me. I copied and pasted into Visual LISP Editor, ran lisp, attempted to publish multiple layouts and the default was still the previous publish location and not the current drawings folder. What did I do wrong?

0 Likes

walterKGDCT
Participant
Participant

dumb question but does this work the same for publishing too? Because i run into the same problem with finding the file to save the publishing ever time. Its just a pain because of how many times that i publish everyday and i could have sworn the Auto cad 2014 i would only have to select that publishing destination once and if i published again in that same .dwg it would save right back to the original spot.

Anonymous
Not applicable

Thank you for your effort, but this still doesn't work. I'm using ACAD 2020. The printer I'm using is DWG to PDF. Every time I open the file and plot it, it still goes to the default location, which is Document. 

0 Likes

maratovich
Advisor
Advisor

You can use additional programs, there you can specify the save folder.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes

Anonymous
Not applicable

bro I am using autocad lt 2020 , the lisp file is not working in lt version , do you have any option for the folder problem in autocad lt version

0 Likes

CMyersNHNL6
Observer
Observer

Thanks! Works a little!!

 

Was having trouble with the new cad here...This works in C3D 2020 through the Options> Plot to File menu...

But suppose if i want to publish the current DWG open and not the last one i just published!!

Which is different, and not wanting to get the last saved dwg location of my other project (opened in another tab)... it doesn't work in that regards.

 

How do i manually invoke the lisp then as you were saying...would it work if you use the lisp that way?

 

FYI, This never used to be a problem in the olden days...ACAD 2000- 2004, believe me!

0 Likes

Vinayv4v
Advisor
Advisor

Sorry!

 

AutoCAD LT does not support LISPs and the APPLOAD command is not available.

Cheers,

Vinay Vijayakumaran

0 Likes

ToddPullen6059
Participant
Participant

YES! it used to work. And it is setup to work with auto publish, so it seems it could work with regular publishing too.

0 Likes