plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?

plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?

Alexander_LindigETKK6
Participant Participant
2,120 Views
25 Replies
Message 1 of 26

plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?

Alexander_LindigETKK6
Participant
Participant

Dear Community, 

 

I need your help.

 

With an older version of ACAD I was able to plot multiple dwg-files (source) to o muliple directories (target) per cmd batchfile. unfortunately I misplaced the batchfiles :-/.  

 

For each file was a line in the batchfile to plot it.

The comand looked simplyfied like that:

 

>> plot source dwg-file to target location pdf-file.

 

the Source files and target location are fix values so I do not need dynamic batch files.

 

Exemple Directories:

 

Source                                 Target

C:\CAD\drawingA.dwg >> X:\CAD-plan\PDF\drawingA.pdf

C:\CAD\drawingB.dwg >> Y:\Floorplan\PDF\drawingB.pdf

C:\CAD\drawingC.dwg  >> Z:\extern\PDF\drawingC.dwg  

 

Can somebody help? 

 

Thx Alex

 

PS: Batch Plot in ACAD doesn't seem the right solutions in this case.

0 Likes
Accepted solutions (4)
2,121 Views
25 Replies
Replies (25)
Message 21 of 26

VincentSheehan
Advisor
Advisor

I think I have it. You'll need to use a Page Setup in the CAD files for this script. I named the Page Setup "setup" for this example. Also, we have the plotter support files looking at another folder. I had to copy our PC3 file to the folder where Core Console is looking. Check out the video below.

 

filedia
0
open
C:\CAD\drawingA.dwg
-plot
no
(layout name)
setup

X:\CAD-plan\PDF\drawingA.pdf
n
y
qsave
open
C:\CAD\drawingB.dwg
-plot
no
(layout name)
setup

Y:\Floorplan\PDF\drawingB.pdf
n
y
qsave
open
C:\CAD\drawingC.dwg
-plot
no
(layout name)
setup

Z:\extern\PDF\drawingC.dwg  
n
y
qsave
filedia
1
close

 

 

 

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

Message 22 of 26

Alexander_LindigETKK6
Participant
Participant

thx, the "underline" helped to solve it.

0 Likes
Message 23 of 26

Alexander_LindigETKK6
Participant
Participant

thx, the "trusted location" tip helped to solve it.

0 Likes
Message 24 of 26

Alexander_LindigETKK6
Participant
Participant

Dear Community thank you very much for your help and patience. You all help with my problem. 

Thanks to you, I have now 2 working alternative solutions.  

 

Thank you!

 

Best Regards Alex

0 Likes
Message 25 of 26

cadffm
Consultant
Consultant

Hi Vincent,

 

>" You'll need to use a Page Setup in the CAD files for this script. "

No need. You can use the current one (by bypasing all plot command options)

or you can change some settings individually, or you can use a named pagesetup.

But in all cases, the data/input has to be valid for the situation.

 

>"Also, we have the plotter support files looking at another folder"

If you don't know what that means, you might spend a few hours looking for it ‌😄‌ .

Anyone who is intensively involved with the ACC will explore the start parameter

and special handling for profile and additional extension what are load for usual in acad.exe,

but not ooth in ACC.

For me it was almost too long ago and I no longer remember some things properly 😑

 

 

Sebastian

0 Likes
Message 26 of 26

cadffm
Consultant
Consultant

Hi Alexander,

 

what is about the language question?

You using  ACC start string /l en-US parameter value,

but qour screenshot shwoing the de-DE Version. What's going on, and why?

 

 

 

Sebastian

0 Likes