AutoCAD 2010 Customization - Hatch Pattern - II - CAD Professor AutoCAD 2010 Customization – Hatch Pattern – II | CAD Professor
Untitled Document

AutoCAD 2010 Customization – Hatch Pattern – II

by sunithbabu on April 15, 2009

In this post we shall review the ways Hatch Pattern can be created in AutoCAD 2007 – 2010.

Before we jump ahead in creating the Hatch Pattern, the same procedure follows as we created Line Types using TWO methods

1) Text Editor
2) By directly saving the file in the acad.pat file from command prompt in AutoCAD

We shall use the 2nd Method
Method 02
Open the Acad.pat file from
C:\Documents and Settings\Administrator\Application Data\Autodesk\AutoCAD
20XX\R17.0\enu\Support\acad.pat
Now for simplicity sake we shall take up Problem No. 1

* Dash Dot90, Dash and Dot lines at 90 Degree

90, 0, 0, 0.15, 0.15, 0.255, -0.255, 0, -0.255
Let’s replace the Name_Pattern from Dash Dot90 to ATP171
* ATP171, Dash and Dot lines at 90 Degree
90, 0, 0, 0.15, 0.15, 0.255, -0.255, 0, -0.255
Now save this Info at the end of Acad.pat file as shown below

autocad-line-file

Once you have added the Hatch patter in the Acad.pat file, we can apply the patter in the drawing by the
following steps

Create a Rectangle of sides 100mm X 60mm

Now to apply the hatch pattern, select Hatch option from Draw tool bar or type Hatch in the command
prompt.

hatch-patter

Make sure you have selected Predefined under Type

select-hatch-patter

Now under the Pattern select ATP171, which you have already saved in the acad.pat file at the last

select-hatch-number

You will immediately see a preview at the Swatch area

preview-hatch-pattern

Alternatively you can also select the Browse Button besides the Patter Option

hatch-patter-scaling

preview-of-hatch-patter

Note: You can change the angle of Hatch either from the codes or from the Hatch option.
Default procedure

To create a hatch pattern with dash and dot lines


1. Open the acad.pat or acadiso.pat file in a text editor that saves in ASCII format (for example,
Notepad).
2. Create a header line that includes an asterisk and a pattern name. The name of the hatch pattern
is limited to 31 characters.
3. (Optional) To include a description in the header line, follow the pattern name with a comma and
description text.
4. Create a descriptor line that includes
o An angle at which the line is drawn
o An X,Y origin point
o A delta-x of any value if you want to offset alternating lines in the line family
o A delta-y of any value
o A value for a dash length
o A value for a dot length
o An optional second value for a different dash length
o An optional second value for a different dot length

EXERCISE – B
Appx Time – 30 Minutes
1) Create hatch patters as shown below and give your own name
45,0,0,0.5,0.5,0.125,-0.125,0,-0.125,0,-0.125
90,1,1,0.25,0,0.25,-0.5,0,-0.5

Challenge Question

Create a hatch patter with the letter A.
[A for AUGI / Autodesk / AutoCAD] Oops it’s Just a Joke

a-type-hatch-patter

Related Posts with Thumbnails
  • mohammad

    Dear sir,
     I am an engineer of construction who working and teaching in a Technical Institute of Mashhad province in Iran. I would be glade if you send me any information (such as book ,CD, command list ,etc) on AutoCAD 3D modeling.
    Keep in touch in : Iran, Mashhad Technical Institute , Pirozi boulevard ,construction department, Mr. didban
    Email: dydbane@yahoo.com
     
    Mr. Didban

  • mohammad

    Dear sir,
     I am an engineer of construction who working and teaching in a Technical Institute of Mashhad province in Iran. I would be glade if you send me any information (such as book ,CD, command list ,etc) on AutoCAD 3D modeling.
    Keep in touch in : Iran, Mashhad Technical Institute , Pirozi boulevard ,construction department, Mr. didban
    Email: dydbane@yahoo.com
     
    Mr. Didban

  • mohammad

    Dear sir,
     I am an engineer of construction who working and teaching in a Technical Institute of Mashhad province in Iran. I would be glade if you send me any information (such as book ,CD, command list ,etc) on AutoCAD 3D modeling.
    Keep in touch in : Iran, Mashhad Technical Institute , Pirozi boulevard ,construction department, Mr. didban
    Email: dydbane@yahoo.com
     
    Mr. Didban

  • Nairb74

    I cannot find the pat files in AutoCAD 2010???

Previous post:

Next post: