Friday, February 6, 2009

Control Hatch Pattern Density


Hatching can produce a very large number of line and point objects. Although stored as hatch objects, these line and point objects do use disk space and take time to generate. If you use a relatively small scale factor when hatching an area, the hatch could require millions of line and point objects, thus taking a very long time to complete and possibly exhausting the available resources. You can avoid this problem by imposing a limit on the number of objects created by a single HATCH or BHATCH command. If the approximate number of objects needed for a particular hatch (considering the boundary extents, pattern, and scale) exceeds the limit, AutoCAD displays a message indicating that the hatch scale is too small or that its dash length is too short, and the hatch request is rejected. If this occurs, carefully examine your hatch settings. The scale factor may be unreasonable and may need to be adjusted.
The hatch object limit is set by the MaxHatch environment setting, which is stored in the system registry. Its default value is 10000. You can change this limit by setting the MaxHatch system registry variable using (setenv "MaxHatch" "n") where n is a number between 100 and 10000000 (ten million).
Change an Existing Hatch Pattern Fill
You can modify the pattern properties, such as scale and hatch angle, of an existing hatch, or you can choose a new pattern for it. You can also explode a hatch pattern
into its component objects.

No comments:

Post a Comment