The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 pdf plotter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JAMIE BURNETT
Starting Member



USA
2 Posts

Posted - August 17 2004 :  7:03:55 PM  Show Profile  Visit JAMIE BURNETT's Homepage  Reply with Quote
Do any of you have a script for pdf plotters with Acrobat?

whether you think you can or think you can't you are right

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - August 17 2004 :  9:58:31 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Are you looking for a script that will plot your DWG as a PDF file



Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - May 10 2005 :  7:52:30 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi guys,

Last I heard, the Acrobat distiller kept popping up dialog boxes for filename.

Anyone find a good solution to output to PDF using scripting? (that doesn't throw dialogs up?)

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - May 10 2005 :  9:17:10 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Actually... I use Adobe's Distiller 4.0. It works just fine for PDF's. Those darn high-res TIF drivers though... that's another story.

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - May 10 2005 :  9:48:50 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Miksteele,

Would you have an example script you could post?

Is it called just like the -PLOT command (or through the -PLOT command?)

What version of AutoCAD are you using it with?

Any more info would be great...

Thanks again,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - May 11 2005 :  08:34:17 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Below is the script, works on my 2000i... The distiller is "watching" the output folder. The are not intentional.

;PDF SCRIPT
;Command: -plot
-PLOT
;Detailed plot configuration? [Yes/No] <No>: y
Y
;Enter a layout name or <Model>: model
MODEL
;Enter an output device name or <PostScript Level 2.pc3>:
PostScript Level 2.pc3
;Enter paper size or <ARCH E1 (30.00 x 42.00 Inches)>:
ARCH D (36.00 x 24.00 iNCHES)
;Enter paper units [Inches/Millimeters] <Inches>:
Inches
;Enter drawing orientation [Portrait/Landscape] <Landscape>:
Landscape
;Plot upside down? [Yes/No] <No>:
N
;Enter plot area [Display/Extents/Limits/View/Window] <Extents>:
Extents
;Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <Fit>:
Fit
;Enter plot offset (x,y) or [Center] <Center>:
Center
;Plot with plot styles? [Yes/No] <Yes>:
Yes
;Enter plot style table name
monochrome.ctb
;Plot with lineweights? [Yes/No] <Yes>:
Yes
;Remove hidden lines? [Yes/No] <No>:
N
;Write the plot to a file [Yes/No] <Y>:
Y
"$FILEDRIVE+1$SUBMITTALSIN$FILENAME$_$PROJECTTAG1$_$DD$-$MM$-$YY$.eps"
;Save changes to model tab [Yes/No]? <N>
N
;Proceed with plot [Yes/No] <Y>:
Y
;END SCRIPT

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - May 11 2005 :  09:25:05 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Ah... I see, you are writing to a file, and using the "watch" feature. The output isn't direct to PDF then...

Cool...

Thanks for explaining how you do it!

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

n/a
deleted



4 Posts

Posted - May 15 2005 :  01:31:07 AM  Show Profile  Reply with Quote
Here's my PDF script. This script will actually create PDF files using the Adobe PDF plot device (you must have Adobe Acrobat 5.0 or higher installed on your computer for it to create the PDFs).

;BEGIN SCRIPT
;Command: TILEMODE
TILEMODE
;Enter new value for TILEMODE <1>: 0
0
;Command: -PLOT
-PLOT
;Detailed plot configuration? [Yes/No] <No>: Y
YES
;Enter a layout name or <Layout1>:

;Enter an output device name or <None>: ADOBE PDF
ADOBE PDF
;Enter paper size or <Letter>: ARCH E1
ARCH E1
;Enter paper units [Inches/Millimeters] <Inches>: INCHES
INCHES
;Enter drawing orientation [Portrait/Landscape] <Landscape>: LANDSCAPE
LANDSCAPE
;Plot upside down? [Yes/No] <No>: N
N
;Enter plot area [Display/Extents/Layout/View/Window] <Layout>: E
E
;Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <1:1>: 1:1
1
;Enter plot offset (x,y) or [Center] <0.00,0.00>: CENTER
CENTER
;Plot with plot styles? [Yes/No] <Yes>: YES
YES
;Enter plot style table name or (enter . for none) <>: ACAD.CTB
ACAD.CTB
;Plot with lineweights? [Yes/No] <Yes>: YES
YES
;Scale lineweights with plot scale? [Yes/No] <No>: YES
YES
;Plot paper space first? [Yes/No] <No>: NO
NO
;Hide paperspace objects? [Yes/No] <No>: NO
NO
;Write the plot to a file [Yes/No] <N>: NO
NO
;Save changes to page setup [Yes/No]? <N> NO
NO
;Proceed with plot [Yes/No] <Y>: YES
YES
;END SCRIPT

****Here's a few notes:
I like putting 'TILEMODE 0' in the begining because a lot of users still working in model space when I run the script, this enables the AutoCAD to always 'print' in paperspace.

I left the 'LAYOUT NAME' blank because diffent dwgs have different layout names, leaving it blank will automatically 'print' what's in paperspace regardsless of the layout name.

Do not write your plots to a file for the PDF script, if you do it will become a PLT instead and screws up the script.

*****Things to remember before creating multiple PDFs*****
- disable the 'VIEW ADOBE PDF RESULTS' it will slow down your computer. Go to 'START'--->'PRINTERS AND FAXES'--->right click on 'Adobe PDF' go to 'PROPERTIES', under the GENERAL TAB, click on 'PRINTING PREFERENCES' and uncheck the box marked 'View Adobe PDF Results'.

- all PDF files that are being created will end up in the 'MY DOCUMENTS FOLDER' although on Acrobat version 7 you can give it a path.

This has been working for me with creating PLTs as well...Hope this works. Let me know what you guys think.

Fellow scripter,
Glenn
Go to Top of Page

n/a
deleted



4 Posts

Posted - May 16 2005 :  4:06:03 PM  Show Profile  Reply with Quote
Oh I forgot one important thing...

***Don't forget to uncheck the box that says "PROMPT FOR ADOBE PDF FILENAME" this automatically names the PDF file that same as the DWG file.
Go to Top of Page

Simon R Halmshaw
New Member



United Kingdom
9 Posts

Posted - September 03 2006 :  9:45:12 PM  Show Profile  Visit Simon R Halmshaw's Homepage  Reply with Quote
Alternative
For people who wish to convert drawings to *.PDF who do not have Acrobat Writer, there are several programs around that can easily do this, however, I have seen a rising trend in people splitting their programs into smaller single function programs so that you have to purchase multiple programs to have the flexibility.
I use Amethyst CADconvert from "http://www.cadwizz.com/", they appear to have do the same here, stopped supporting this program (although it is still available from their legacy site) and now creating smaller, single function programs. At $75 per user license for DWG-2-PDF is it cheaper than buying Acrobat and it is fast but if you use Acrobat then I found that the simplest way was to create the script using Hurricane command line capture feature. If you use Acrobat 7 be careful with your file location folder, 7 requires you to specify the destination folder for the converted files.
Go to Top of Page

ryoerger
New Member



USA
7 Posts

Posted - July 14 2011 :  09:20:00 AM  Show Profile  Visit ryoerger's Homepage  Reply with Quote
My method is to create a page setup that uses the “DWG to PDF” driver provided by Autodesk. I then use Hurricane to batch plot a directory of drawings with that page setup - Pretty simple.
I’m familiar with Hurricane through my last employer, but don’t currently have access to it (otherwise I would try the action recorder). If the following scenario can be accomplished I will likely purchase a thumb drive version of Hurricane myself.
Suppose I have three (3) drawing files I need to PDF. And suppose I have one (1) layout named “1” in drawing one, three (3) layouts in drawing two named “1”, “2” & “3” and finally six (6) layouts in drawing three named “1”, “2”, “3”, “4”, “5” & “6”. Can I batch print all the layouts in each of the drawings? In other words I want to PDF a total of ten (10) layouts which exist in three (3) drawings.
Can this be done? If so, how might the script read? Thanks!

Rick Yoerger
Go to Top of Page

Admin
Administrator



652 Posts

Posted - July 14 2011 :  09:32:03 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
I think this is the topic you are looking for...
http://www.74mph.com/forum/topic.asp?TOPIC_ID=117&SearchTerms=laylist

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000