Training   Course Outlines   AutoCAD – The Basics   AutoCAD – Beyond the Basics   AutoCAD – 3D Basics   On‑Site Training   Virtual Classroom Training   CAD Bytes Webinars › Tutorials

Click the subscribe button below to receive CCAD's monthly email newsletter, which includes free tutorials, discounts and our class schedule!

CCAD's AutoCAD Tutorials

Continuous Line Hatch Patterns

This first Custom Hatch Pattern tutorial explores creating patterns consisting of continuous lines at a designated spacing. Make sure you have reviewed the Custom Hatch Pattern Introduction. Note that the >> indicates an action to be performed. Do not include the >> when typing the hatch pattern code.

hatchLet's look at creating a hatch pattern for 24" x 48" ceiling tiles.

Using Notepad or another text editor, start a new file.

The first line should read:

*GRID24x48, 24x48 Ceiling Grid

The * marks the begining of a hatch pattern. GRID24x48 is the Pattern Name and 24x48 Ceiling Grid is the description.

Add the first Pattern Line:

0, 0,0, 0,24

You can use more or less spaces, but you must have the commas in the proper locations. Make sure you press ENTER at the end each Pattern Line, especially the last line. Be careful not to have any extra blank lines at the end of the pattern definition.

This Pattern Line will produce a pattern of lines at an angle of 0. The pattern begins at 0,0. The spacing between lines (Delta‑Y) is 24.

Save your file to a folder on the AutoCAD Support File Search Path with the name GRID24x48.pat.

Remember, unless you are appending your pattern to the end of the ACAD.pat file, the file name and the pattern name must match.

The easiest way to locate a folder on the AutoCAD Support File Search Path is to execute the OPTIONS command, select the Files tab and expand the AutoCAD Support File Search Path node.

I'm going to use the C:\Program Files\Autodesk\Autocad 2012 - English\Support folder for this example.

Begin AutoCAD and draw a rectangle at least 200x100 and try out your new hatch pattern. Your new patterns will be displayed at the end of the list of patterns on the Patterns panel.

Add the second Pattern Line shown below to your pattern file.

90, 0,0, 0,48

This will produce a pattern of lines at an angle of 90 that begins at 0,0. The spacing between the lines (Delta‑Y) is 48.

Save your file and try the revised hatch pattern.

The next tutorial in this series will explore Dashed Line hatch patterns. Make sure you have reviewed the Custom Hatch Pattern Introduction.