The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Batch creating DWF's from Dwg's

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 - July 14 2004 : 06:42:31 AM
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
4   L A T E S T    R E P L I E S    (Newest First)
gdury Posted - July 16 2004 : 08:26:40 AM
Bill

Your solution works a treat.
Admin Posted - July 16 2004 : 07:31:30 AM
Hi,

I've used the $filename$ tag to generate the required output
......
;Enter filename <current name.dwf>
"G:              
gdury Posted - July 16 2004 : 04:49:59 AM
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:
Admin Posted - July 14 2004 : 10:19:48 AM
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

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