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
 Batch creating DWF's from Dwg's
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gdury
New Member

United Kingdom
19 Posts

Posted - July 14 2004 :  06:42:31 AM  Show Profile  Visit gdury's Homepage  Reply with Quote
Dear All

I've created a script below to batch create(plotting)to DWF's.
The problem i have encountered is that i cannot save the produced DWF's to a specific location despite the Plot To File being set to Y (Yes). The Output device is the DWF6 ePlot.pc3 which as a default allows the Dwf to be created like a plot file. I can manually process each drawing, but i would like to use Hurricane.

Any help from the forum users would be appreciated

;BEGIN SCRIPT
-PLOT
;Detailed plot configuration? [Yes/No] <No>:
YES
;Enter a layout name or <Layout1>:
LAYOUT1
;Enter an output device name or <XES Synergix 8825 (2 Roll).pc3>:
DWF6 ePlot
;Enter paper size or <A4>:
ISO A1 (841.00 x 594.00 MM)
;Enter paper units [Inches/Millimeters] <Inches>:
M
;Enter drawing orientation [Portrait/Landscape] <Portrait>:
L
;Plot upside down? [Yes/No] <No>:
N
;Enter plot area [Display/Extents/Layout/View/Window] <Extents>:
EXTENTS
;Enter plot scale (Plotted Millimeters=Drawing Units) or [Fit] <1:1>:
FIT
;Enter plot offset (x,y) or [Center] <0.00,0.00>:
CENTER
;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
;Remove hidden lines? [Yes/No] <No>:
N
;Write the plot to a file [Yes/No] <N>:
Y
;Save changes to layout [Yes/No]? <N>
N
;Proceed with plot [Yes/No] <Y>:
Y
;END SCRIPT


The file attached shows the plot settings set to a default location, however the dwf does not end up in that location if i have run the script via Hurricane. I have searched my c:/ & network drives for a possible dumping location with no success.

Download Attachment: dwfs.JPG
59.93 KB

Graham Dury - G.L.Draughting Ltd, Contract Draughting Services

Admin
Administrator



652 Posts

Posted - July 14 2004 :  10:19:48 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Here is something that works on my system.

(I used the "Capture Autocad Commands" Feature in Hurricane)

I've left most of the responses blank, to accept the defaults. Also added a line "Enter Filename", and left it blank too, to accept the "current drawing.dwf" default. You could put a Hurricane TAG in there to direct to a different path and/or filename.

Hope this helps!
Bill



;BEGIN SCRIPT
;Command: -PLOT
-PLOT
;Detailed plot configuration? [Yes/No] <No>: YES
YES
;Enter a layout name or [.?] <Model>:

;Enter an output device name or [.?] <\xxxxxxxx>: ?
DWF Classic.pc3
;Enter paper size or [.?] <ANSI A (8.50 x 11.00 Inches)>:

;Enter paper units [Inches/Millimeters] <Inches>:

;Enter drawing orientation [Portrait/Landscape] <Landscape>:

;Plot upside down? [Yes/No] <No>:

;Enter plot area [Display/Extents/Limits/View/Window] <Extents>:

;Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <Fit>:

;Enter plot offset (x,y) or [Center] <0.00,0.00>:

;Plot with plot styles? [Yes/No] <Yes>:

;Enter plot style table name or [.?] (enter . for none) <MONOCHROME.CTB>:

;Plot with lineweights? [Yes/No] <Yes>:

;Remove hidden lines? [Yes/No] <No>:

;Enter filename <current name.dwf>

;Save changes to model tab [Yes/No]? <N>

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

;END SCRIPT

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

gdury
New Member

United Kingdom
19 Posts

Posted - July 16 2004 :  04:49:59 AM  Show Profile  Visit gdury's Homepage  Reply with Quote
Bill

Thanks for your reply, i've added the ;Enter filename <current name.dwf> option to the script which then runs and i cannot find the dwf files.
If i create a blank line after the new addition, the script will then produce the dwf in the default location with a warning about the blank line.
Where do i apply the Dynamic tag to save the dwf to the following location "G:

Graham Dury - G.L.Draughting Ltd, Contract Draughting Services
Go to Top of Page

Admin
Administrator



652 Posts

Posted - July 16 2004 :  07:31:30 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi,

I've used the $filename$ tag to generate the required output
......
;Enter filename <current name.dwf>
"G:

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

gdury
New Member

United Kingdom
19 Posts

Posted - July 16 2004 :  08:26:40 AM  Show Profile  Visit gdury's Homepage  Reply with Quote
Bill

Your solution works a treat.

Graham Dury - G.L.Draughting Ltd, Contract Draughting Services
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.33 seconds. Snitz Forums 2000