Search This Blog

Wednesday, February 08, 2006

Quick Fix for OLE Object Plotting Poorly

Having problems plotting embedded Microsoft Excel spreadsheets or other OLE objects such as Microsoft Word documents or JPEG images in AutoCAD? Check the setting of your OLEQUALITY variable and change its value to 3 and make those problems a thing of the past! This variable is saved in your registry, so like those Ronco commercials will tell you, you can set it and forget it...

Want to ensure that it is always set correctly? Add the following code snippet to your acaddoc.lsp file.

;; Set OLEQUALITY TO Automatic

Here is a little more info straight from the help files:

Type: Integer
Saved in: Registry
Initial value: 3

Sets the default plot quality for OLE objects. When OLEQUALITY is set to 3, the quality level is assigned automatically based on the type of object. For example, spreadsheets and tables are set to 0, color text and pie charts are set to 1, and photographs are set to 2.

0 Monochrome

1 Low graphics

2 High graphics

3 Automatically Select