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

HomeFeaturesTutorialsFAQBlogForumTestimonialsContactBuy Hurricane
 All Forums
 Hurricane for AutoCAD
 General Discussion
 what to do with alternate keys
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alaska_surveyor
New Member

USA
7 Posts

Posted - December 12 2006 :  6:48:43 PM  Show Profile  Reply with Quote
what is the code when I want to have the computer enter an alternate N (alt+N)

alaska_surveyor
New Member

USA
7 Posts

Posted - December 12 2006 :  7:55:12 PM  Show Profile  Reply with Quote
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.
Go to Top of Page

Admin
Administrator



Canada
665 Posts

Posted - December 12 2006 :  11:34:54 PM  Show Profile  Reply with Quote
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

Hurricane for AutoCAD
https://www.74mph.com
FAQ at
https://www.74mph.com/faq/faq.html
Tutorials at
https://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 - 2026 Go To Top Of Page
This page was generated in 0.46 seconds. Snitz Forums 2000