Friday, January 23, 2009

Annotative text disappears

Problem:

I can view annotative text in modelspace, but when I go to paperspace, some viewports show the text but in others it disappears.

Solution:

You'll need to set the ANNOAUTOSCALE system variable. Best settings are probably 1 or 4. (See link below)

Without that, you have to manually add each scale to the annotative object (right-click -> Annotative Object Scale).

Annotative text variables


If you're also having problems deleting annotative text, execute the following commands:

AUDIT
SAVEFIDELITY, set to 0
ANNOALLVISIBLE, set to 1

Wednesday, January 21, 2009

Why does My Hatch Look Exploded?

In my office, we regularly come across defective AutoCAD hatching that appears to be exploded. Usually Gravel, Concrete, etc. This is because the HPORIGIN variable is set to the World UCS origin-0,0,0. Now, you could set your HPORIGIN location to a point near your project, however, every drawing you open thereafter will continue to use this origin, even if it is thousands of miles away. This could pose a problem in other drawings.

The HPORIGINMODE variable is a bit more drawing-specific. It works as follows:
For new hatches, you’ll want to have your HPORIGINMODE variable set up correctly.
Enter HPORIGINMODE at the command line.
0- Uses the current origin (Default is 0,0,0)
1- Sets the origin at the bottom-left corner of the rectangular hatch boundaries
2- Sets the origin at the bottom-right corner of the rectangular hatch boundaries
3- Sets the origin at the top-right corner of the rectangular hatch boundaries
4- Sets the origin at the top-left corner of the rectangular hatch boundaries
5- Places the origin in the center of the rectangular extents of the hatch boundaries.

Settings 1-4 are good for rectangular hatches such as Brick, Tile, etc. where you might want your hatches to begin at a specific corner of your rectangular boundary.

Setting 5 is good for Concrete, Gravel, etc.

Keep in mind that this Variable also affects all drawings created thereafter.

To keep it even more drawing-specific, open the Hatch Edit dialog box and select the ‘Specified Origin’ radio button in the ‘Hatch Origin’ section.
Select the ‘Click to set new origin’ button, or check the ‘Default To Boundary Extents’ box and select the desired option.

This option can also be used to repair existing ‘Defective Hatches’ as follows:

Double click the existing ‘Defective Hatch’ to open the Hatch Edit dialog box and follow the above steps to set your desired options. Once the hatch is repaired you can use Match properties to correct all like-hatches.

Hope this works for you.