How to Create and Use Your Own Custom Hatch Pattern in AutoCAD 2009

Written by:  • Edited by: Lamar Stonecypher
Updated Feb 16, 2010

You can use a built-in AutoCAD 2009 hatch pattern from the Home > Draw > Hatch icon. There are fairly large numbers of hatch pattern available with AutoCAD 2009, but sometimes you'll require some additional hatch pattern.

Steps for Creating a Custom AutoCAD 2009 Hatch Pattern File

  • Open a notepad.
  • The syntax of the first line of your hatch pattern file will be *filename, description
  • The syntax of the rest of the lines of the file will be Angle of line, origin-x, origin-y, x-offset, y-offset, [dash pattern….]

The first field of the code is the inclination angle of the hatch line, origin-x and origin-y is the starting point of first hatch line, x-offset and y-offset defines spacing dimensions between the hatch lines. The optional dash pattern is for specifying dashed or dotted line type.

  • Save the file by giving filename as filename.pat and save it to your AutoCAD 2009 support directory ( /program files/AutoCAD2009/Support).
  • Run AutoCAD 2009 and select the just created hatch pattern from the custom tab of the hatch pattern palate.

Example of Creating Custom Hatch Pattern

  • We will create a custom AutoCAD hatch pattern of 45 degree inclined dashed line.
  • Write down the first line as *dashedangle, dashed angular hatch
  • Write second line as 45.000, 0,0, 0.5,0.5, 0.5,-2,1
  • 45 degree is inclination of hatch lines.
  • 0,0 is origin of first line.
  • 0.5,0.5 is offset distances between two lines, this will define how dense hatch pattern you will get.
  • 0.5,-2,1 can be read as draw a line of 0.5 length then lift the pen for 2 length again draw a line of 1 length and repeat the same. You will define your dash pattern here.
  • Save the notepad file to AutoCAD 2009 support directory as dashedangle.pat
  • If your hatch pattern has two types of lines then you need to add two lines of codes after first line in the .pat file.
  • For example if you want to create a hatch pattern of crossed lines then you may need to add third line in the above file as 90.000, 0,0, 0.5,0.5, 0.5,-2,1
  • For creating AutoCAD hatch pattern of circle you need to create pattern of dashed line inclined in proper angle.

Conclusion

Apart from regular built-in AutoCAD hatch pattern you can create your customized hatch pattern. The example discussed in the tutorial above does not cover all types of hatch patterns, but if you understand the logic you can develop your custom hatch pattern easily.

Related Reading

How to Create a Customized Menu in AutoCAD 2009 - Working with AutoCAD continuously, are you bored with using repetitive commands? Then let’s create customized menus in AutoCAD. Believe me, by using customized menus you can greatly improve your efficiency.

Customizing Autocad Using AutoLISP Codes for Creating a Flywheel Drawing - When you are repetitively making the same type of drawing in AutoCAD again and again, you may think of customizing the application. AutoCAD customization requires a bit of programming skill. Read this article to know how we can customize AutoCAD using AutoLISP for making a flywheel drawing.

How to Customize the Ribbon in AutoCAD 2009 - AutoCAD 2009 has loads of attractive new features, including ribbon customization. But what is the ribbon? And how do we customize it?


Comments

Showing all 8 comments
 
shawez Mar 31, 2011 2:47 AM
hatch
Respected sir
i don't understand the own hatch patern making so plz sent mi a video and images for the help of mi about auto cad custom hatch
shawez Mar 31, 2011 2:15 AM
hatch
plz help mi to make own hatch Paten
Andrew Chang Feb 10, 2011 8:18 PM
a hatch pattern with circle or arc
But not so easy to create a "circle matrix". Is any easier way to make it?
Muhammad Arshad Feb 8, 2011 7:14 AM
Hatch pattern
how can create a hatch pattern
Andrew chang Dec 9, 2010 8:48 PM
How to create a hatch pattern with circle or arc
How to create a hatch pattern with circle or arc? Is this the limitation of Autocad?
vhen Aug 31, 2010 9:39 PM
hatch
how to make customized hatch pattern
please send me details and intructional video if possible. thanks!
amol mansute Mar 17, 2010 10:19 AM
linetype
how to create new linetype please send me details
jasial Jul 19, 2009 7:30 AM
how can create a hatch pattern
please send me details
 
blog comments powered by Disqus
Email to a friend