Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Create a .PAT file for custom hatches?

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
Anonymous
13664 Views, 8 Replies

How to Create a .PAT file for custom hatches?

Hi, I am trying to create a custom hatch. I made the hatch in a autocad drawing, made it into a block, and saved it as 6x18subwaytile.PAT

It is not showing up as a .PAT file in my files. I also am not sure how to add this into AutoCAD to use. 

Labels (3)
8 REPLIES 8
Message 2 of 9
Edwin.Rense
in reply to: Anonymous

As you can see (from your attachment), your file extention is still dwg.

It should be a regular .pat

A .Pat file contains The placement of the lines (start, end and direction)

Also the pattern start coordinates.

take a look at the Acadlt.pat in the %appdata%\Autodesk\AutoCAD LT 2022\R28\enu\Support folder.

Open it in notepad.

All you see is 'text'

Look for the lines which represent the AR-B816 hatch, this is an 8"x 16" tile.

*AR-B816, 8x16 Block elevation stretcher bond
0, 0,0, 0,8 -> Is horizontal line
90, 0,0, 8,8, 8,-8 -> vertical lines

Copy these 3 lines beneath the "User defined Hatch pattern section.

Your subway tile is 6"x18", 

Change to:

*SUBWAY616, 6x16 Subway Tile
0, 0,0, 0,6
90, 0,0, 6,6, 6,-6

Save the pat file.

Open AutoCAD and apply the hatch.

 

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

Kind regards,

Edwin Rense
Cadac Group AEC BV
Supporting Consultant AEC
Cadac Group .
Message 3 of 9
steven-g
in reply to: Anonymous

Take a look at this site.

A hatch pattern .pat file does not use a block it is a text description telling Autocad how you want the pattern to be drawn. In your case the .pat file should read

*6x18, Tile
0,0,0,0,6
90,0,0,6,9,6,-6
Message 4 of 9
steven-g
in reply to: Edwin.Rense


@Edwin.Rense wrote:

Copy these 3 lines beneath the "User defined Hatch pattern section.

Your subway tile is 6"x18", 

Change to:

*SUBWAY616, 6x16 Subway Tile
0, 0,0, 0,6
90, 0,0, 6,6, 6,-6

Save the pat file.

Open AutoCAD and apply the hatch.

 


Slightly confusing

you talk about a 6x18 pattern

label it as 6x16

and it creates 6x12 😀

 

Message 5 of 9
Edwin.Rense
in reply to: steven-g

You are completely correct, changing back and forth from imperial to metric still is confusing. 😎

Yours will work better:

*6x18, Tile

0,0,0,0,6

90,0,0,6,9,6,-6

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

Kind regards,

Edwin Rense
Cadac Group AEC BV
Supporting Consultant AEC
Cadac Group .
Message 6 of 9
pullstackautocad
in reply to: Anonymous

Namaste from nepal can you please help me with the section....

Message 7 of 9

Namaste from nepal can you please help me with the section....

Message 8 of 9
doni49
in reply to: pullstackautocad

Rather than bringing up an old thread to request advice, it's usually a better idea to start a NEW thread in which you reference (by way of a link) the old thread. For better or worse, a lot of people tend to pass right on by old threads. Others specifically use the "UNANSWERED" tab above as a means to find threads in which they might assist someone -- that specifically filters for threads with ZERO replies. If your post is a reply to someone else's thread, then that thread will be filtered out.

When you post a new thread, you have a better chance of getting more eyes on the question. That equates to a broader range of knowledge which in turn leads to improved chances of resolving your issue.



Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

Message 9 of 9

@pullstackautocad 

 

I had an entire message ready but it didn't upload.
So a shorter one now.

 

Due to the equal X and Y coordinates bottom and left, and the same for top and right, this hatch is not possible.

The blue squares need an offset from bottom and left to create a single hatch.
If the color need to be different you must use two seperate hatches.

 

With the offset the pattern would be this:

Hatch.jpg

 

The pattern file lines would be:

*1100x1100, Tile
0, 55,55, 1210,1210, 1100,-110
90, 55,55, 1210,1210, 1100,-110
0, 55,1155, 1210,1210, 1100,-110
90, 1155,55, 0,1210, 1100,-110
0, 0,1210, 1210,1210
90, 1210,0, 1210,1210

 

Hope this works for you.

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

Kind regards,

Edwin Rense
Cadac Group AEC BV
Supporting Consultant AEC
Cadac Group .

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report