The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 AutoCAD 2004, new raster output commands

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
Admin Posted - October 28 2003 : 7:46:13 PM
Hello!

Just a reminder that in AutoCAD 2004, AutoDesk has included a few new commands that are easily scriptable. The JPGOUT, PNGOUT, WMFOUT and TIFOUT commands, output the currently displayed drawing (DWG) to the corresponding raster format.
(The file formats are useful for webpages or transferring your drawings as "non-editable" )
(I've added the old BMPOUT command to the end of the list just for kicks, of course, you can add/change things around for your own use!)

It looks like AutoDesk have disabled the "Output File Exists, are you sure you want to overwrite?" question, so there are no worries in case the files generated already exist. AutoCAD will overwrite them by default. The scripts can remain the same whether you have existing JPG's in the directory or not.


;;; SCRIPT TO OUTPUT .JPG FILES
;START
JPGOUT
"$FILEPATH$$FILENAME$.JPG"

;END

;;; SCRIPT TO OUTPUT .TIF FILES ;START TIFOUT "$FILEPATH$$FILENAME$.TIF" ;END
;;; SCRIPT TO OUTPUT .PNG FILES ;START PNGOUT "$FILEPATH$$FILENAME$.PNG" ;END
;SAVE THE DRAWING TO BMP _ZOOM E _QSAVE _BMPOUT ALL ;END
;;; SCRIPT TO OUTPUT .WMF FILES ZOOM E WMFOUT "$FILEPATH$$FILENAME$.WMF" ALL ;END SCRIPT
5   L A T E S T    R E P L I E S    (Newest First)
n/a Posted - May 15 2005 : 02:20:52 AM
hmmm... would this also work for DWF's? Recently,we've been playing with the DWFOUT / PUBLISH command. Apparently, the file size is alot smaller than a PLT or a PDF file so it's easier to email, transfer, burn on a CD etc.... Oh, and sorry, I haven't tried scripting these on 05/06 yet.....our office will be upgrading to 06 in a few weeks... I'll let you know.
Admin Posted - April 08 2005 : 7:25:51 PM
Has anyone tried the above commands in AutoCAD 2005/2006? Any major differences in scripting them?

Regards,
Bill
Miksteele Posted - October 29 2003 : 09:16:14 AM
Ohh I see...I guess I was referring to the plot to tif drivers. Totally different usage. I plan to upgrade in the near future.
Admin Posted - October 29 2003 : 09:09:43 AM
From my experience, it seems that the Rasteroutput is totally set by the size of your AutoCAD window! (Basically it becomes a screenshot)

I've got my resolution set to 1600 x 1200, so the graphic comes out just under those values (because of the scrollbars and title/toolbars in AutoCAD).

I just tried a quick test and when I make my AutoCAD window smaller, the output becomes smaller too, and is limited to whatever is viewable in the AutoCAD window.

Crank up your monitor rez and you should get better results.

Bill

Miksteele Posted - October 29 2003 : 09:02:30 AM
I would be interested to know what kind of resolution you can get in a 2004 TIF file. The drivers that came with 2000 are very limited. It seems that if you want a high-res TIF you need to buy a driver from a third party. Maybe that is not the case anymore?

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