Hatch - When "It won't hatch!"
Architectural Production Software 2005
Note: The following information is for educational purposes only and may or may not help you in your individual situation. KLH Software, Inc. assumes no liability for the use or misuse of any information contained in this document. In order for us to provide the best possible support for our software we are unable to provide help with the Tips & Tricks area or any questions or problems with its information. Got a good Tip or Trick of your own?

Submitted by:
The KLH Software support team

What to do when "it won't hatch!"

Just about everyone has seen at one time or another the message: "Hatch spacing too dense, or dash size too small." right after you've unsuccessfully tried to hatch an area. This frustrating message has the obvious workaround of dividing up the area to be hatched into smaller areas with some temporary lines or with lines on a "non plot" layer so the hatch will remain associative. While this works fine in most instances it is also helpful to understand what is happening when you receive this message so a less painful solution can be used.

AutoCAD by default limits you to 10,000 lines/dots in a hatch pattern. When you exceed this number you will get the infamous "Hatch spacing too dense, or dash size too small." and no hatch. This limit is set in the AutoCAD environment variable "MAXHATCH". The good news is that you can make this value larger. We are not sure what the upper limit is but we've entered 100,000,000 in release 2006 AutoCAD and it took it. Depending on the types of hatching you typically do and how often you get this message you may adjust your value accordingly. The format for setting this value is the following entered at the command prompt:

(SETENV "MAXHATCH" "700000")

Note that both the "MAXHATCH" and the value that you are entering (700,000 above) must be in quotes.



Is there anything that you find confusing or difficult? Please let us know so we can help!

Copyright 2006 KLH Software, Inc. All rights reserved. Reproduction or copying of content or images is prohibited.
Legal Notices and Trademarks | Privacy Policy | Contact KLH Software
Autodesk, AutoCAD, AutoCAD Architectural Desktop, AutoLISP, and Visual LISP are either registered trademarks or trademarks of Autodesk, Inc., in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders.