The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 what to do with alternate keys

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
alaska_surveyor Posted - December 12 2006 : 6:48:43 PM
what is the code when I want to have the computer enter an alternate N (alt+N)
2   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - December 12 2006 : 11:34:54 PM
Hmmm... publish command does not have a command line version that I am aware of.

There was the DXFOUT command, but it seems it doesn't want to run from a script either in 2007 (what version of AutoCAD are you using?)

So the most versatile thing I can think of is to use the -PLOT command and specify all the specifics, and plot using the DWF pc3 file (there are two that come stock with 2007)
"DWF Classic (R14 look).pc3"
"DWF6 ePlot.pc3"

Here is a rough outline of the script to give you an idea...

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

;Enter an output device name or [ ?] : DWF Classic (R14 look)
DWF CLASSIC (R14 LOOK)
;Enter paper size or [ ?] <ANSI expand 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] <Display>:

;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) <>: .
.
;Plot with lineweights? [Yes/No] <Yes>:

;Enter shade plot setting [As displayed/Wireframe/Hidden]: 

;Specify filename... (modify to suit)
$filepath$$filename$.dwf
;Save changes to page setup [Yes/No]? <N>

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

;END SCRIPT


It's a bit of a workaround, and I hope it solves your problem, but it does publish a DWF file in the end.

Let me know how it goes!

Regards,
Bill
alaska_surveyor Posted - December 12 2006 : 7:55:12 PM
quote:
Originally posted by alaska_surveyor

what is the code when I want to have the computer enter an alternate N (alt+N)

i ALMOST FORGOT I AM TRYING TO DO THE PUBLISH COMMAND VIA SCRIPTS AND THAT IS WHY I WANT TO KNOW. i WANT IT TO SIMPLY PUBLISH THE ONE DRAWING i AM IN. iT ALREADY HAS A PAGE SETUP OF DWF WRITER.

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