AutoCAD

How to Create a PAT File in AutoCAD 2026?

Understanding .PAT Files in AutoCAD

.PAT files are crucial in AutoCAD for creating custom hatch patterns. These files store patterns that can be applied to fill areas in your drawings, enhancing both the aesthetic and functional aspects of your designs. A .PAT file typically contains a series of definitions that dictate how the pattern is created, defining the spacing, angle, and repetition of the pattern lines or shapes.

Creating a Custom Hatch Pattern

To create a custom hatch pattern in AutoCAD, follow these steps:

  1. Open the Options Window: Start AutoCAD and type OP in the command line to open the Options dialog box.

  2. Add a Custom Folder: Navigate to the Files tab and locate the Support File Search Path. Add the folder where your custom hatch patterns will be stored. This makes them accessible within AutoCAD.

  3. Confirm Changes: Click OK to save your changes.

  4. Activate Hatch Command: Use the hatch command, and you should see your custom patterns listed. If they are not visible, ensure that you have selected the user-defined pattern type from the options.

Creating a .PAT File

Creating a .PAT file involves creating the desired pattern and saving it in the correct format. Here’s how:

  1. set up a New Drawing: Start a new drawing in AutoCAD.

  2. Access the Hatching Options: Click on File, then Options, and navigate to the Application Options section. Under the Drafting tab, find the Hatching segment.

  3. Create a New Pattern: Click the Create button, which opens the Edit Hatch Pattern dialog. In this dialog, you can specify your design parameters.

  4. Define Your Pattern: Use the tools within the dialog to define the pattern, including options for angle, spacing, and type of pattern (solid, gradient, etc.).

  5. Save the Pattern: Once your pattern is defined, save it as a .PAT file in the folder previously designated in the Options.

Adding Custom Hatch Patterns to AutoCAD

To ensure your newly created hatch patterns are readily available:

  1. Organize Custom Patterns: Place all custom hatch patterns in the designated folder.

  2. Modify Options Again: Open the Options dialog and navigate to the Files tab to ensure that your folder is still listed in the Support File Search Path.

  3. Trusted Folders: Also add your custom folder to the Trusted Folders list to avoid any security issues while using the patterns.

Locating .PAT Files

To identify where .PAT files are stored within your AutoCAD installation:

  • Generally, they are located in the support folder under the main AutoCAD installation directory, typically found in C:\Program Files\Autodesk\AutoCAD 2026\Support.
  • For AutoCAD LT, check the UserDataCache folder, which may require revealing hidden folders in your File Explorer settings.

Exporting a .PAT File

If you want to export a .PAT file from AutoCAD:

  1. Access Export Options: Click the File tab and select Export.

  2. Choose the Setup: Select the relevant export setup you want to modify, typically under DWG/DXF export options.

  3. Navigate to Patterns: Click the Patterns tab to specify your desired patterns for export.

Frequently Asked Questions

1. How do I change a text file to a .PAT file?
To convert a text file to a .PAT file, you need to adjust your Windows settings to display file extensions. Rename the file by removing the .txt extension and replacing it with .pat.

2. Can I read .PAT files in other software outside AutoCAD?
Yes, .PAT files can often be opened with graphic design software such as Adobe Photoshop, GIMP, and Corel PaintShop, which allows you to utilize the patterns in broader design applications.

3. What happens if my custom hatch is not showing up in AutoCAD?
If your custom hatch pattern doesn’t appear, check to ensure the folder containing your .PAT file is listed in the Support File Search path. You may also need to select the correct pattern type or restart AutoCAD to refresh the patterns.

About the author

Nathan Cole

Nathan Cole

Nathan Cole is a CAD technology specialist with extensive experience in Autodesk software and professional 3D design tools. Over the past 11 years, he has worked with applications such as AutoCAD, Revit, and Inventor, as well as other industry-standard tools including SketchUp and SolidWorks. Nathan regularly publishes online articles, tutorials, and practical guides covering CAD modeling, BIM workflows, technical drawing, rendering, and productivity techniques. Through his work, he helps engineers, architects, and designers improve their skills and better master modern CAD software.