The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Batch plotting to PDF

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
gdury Posted - February 19 2008 : 10:07:14 AM
Bill,Forum Members

Hope you can help we with a script problem to batch plot A0/A1 drawings to PDF.
I have created the following script, almost similar to a reply message from Geester - 15th May 2005: http://www.74mph.com/forum/topic.asp?TOPIC_ID=266&SearchTerms=PDF

My main problem is not being able to save the PDF file to the location on the network. The Adobe SAVEAS dialogue box keeps popping up,you then have to click on the Save button for it to proceed. I have highlighted the script in BOLD for the desired location.

;BEGIN SCRIPT
;Command: -plot
-PLOT
;Detailed plot configuration? [Yes/No] <No>: y
Y
;Enter a layout name or <Layout1>:

;Enter an output device name or <XES Synergix 8825 (2 Roll).pc3>:
Adobe PDF A1.pc3
;Enter paper size or <PostScript Custom Page Size>:
PostScript Custom Page Size
;Enter paper units [Inches/Millimeters] <Inches>:
M
;Enter drawing orientation [Portrait/Landscape] <Landscape>:
Landscape
;Plot upside down? [Yes/No] <No>:
N
;Enter plot area [Display/Extents/Layout/View/Window] <Extents>:
E
;Enter plot scale (Plotted Millimeters=Drawing Units) or [Fit] <1:1>:
1:1
;Enter plot offset (x,y) or [Center] <0.00,0.00>:
0.00,0.00
;Plot with plot styles? [Yes/No] <Yes>:
Y
;Enter plot style table name or (enter . for none) <DESCO.ctb>:
Desco.ctb
;Plot with lineweights? [Yes/No] <Yes>:
y
;Scale lineweights with plot scale? [Yes/No] <No>:
N
;Plot paper space first? [Yes/No] <No>:
N
;Hide paperspace objects? [Yes/No] <No>:
N
;Write the plot to a file [Yes/No] <N>:
N
;Save changes to page setup [Yes/No]? <N>
N
;Enter filename <current name.pdf>
"G:\0538\Xbound\Elec\$FILENAME$.pdf"

;Proceed with plot [Yes/No] <Y>:
Y
;END SCRIPT


I have left the 'LAYOUT NAME' blank because it will automatically 'print' what's in paperspace regardless of the layout name. We normally have the cad file name.

Any help from the members would be appreciated

Regards
2   L A T E S T    R E P L I E S    (Newest First)
Simon R Halmshaw Posted - March 29 2008 : 12:15:50 PM
Graham - What PDF conversion software are you using?, I just tried this and it works for me. A couple of things, first I am not trying to save to a network drive only an external drive, second, I am running Acrobat 7 Professional as I use this for a lot more than simple conversions. One thing that I found was that I can stack only up to 50 drawings, more than that and my laptop starts to cook as it tries to process the drawings.
If you run Acrobat professional you can set the path for the drawings in the print set up dialog in Acrobat as well as de-select the "Show PDF" option and the "Confirm file name" option.

Maybe some use to you, not sure
Thanks
Simon
Admin Posted - February 19 2008 : 10:56:00 AM
Hi Gdury,

1) Try
FILEDIA 0 in your SETTINGS->PREUSERSCRIPT
FILEDIA 1 in yoru SETTINGS->POSTUSERSCRIPT

2) I've found the other determining factor as to whether the "fileselector" pops-up, is the actual PDF driver you are using. Each of the pdf drivers/products/versions has different ways of dealing with the fileselector.

After a bit of quick testing.
http://www.pdfforge.org/ seems to generate PDF's ok with word/excel, or anything else without the fileselector but with AutoCAD a bit of an issue... seems to output PLT files on... I'm working on it... must just be a setting...

I'm encapsulating the filename in quotes too...
;Write the plot to a file [Yes/No] <N>: Y
Y
"$FILEPATH$TEST-$FILENAME$.pdf"
;PROCEED
y
Y
;END SCRIPT


I hope this gets you one step closer...

Regards,
Bill

The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000