Over 1.109.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the updated Units converter and the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
CAD tip # 11415:
Question
A
When trying to add a hatch with a selected custom hatch pattern, AutoCAD or AutoCAD LT displays the error "Error in pattern file." or "Bad pattern definition file:
Missing parameter on line NNN.", resp. "Error in pattern file."
The most common primary cause is a missing end-of-line character (Enter) on the last text line in the .PAT file. Make sure the last line is an empty line - e.g. pressing Ctrl+End in Notepad should move your cursor below the last line of the pattern definition.
A .PAT file must by a standard text file, not a file edited e.g. in MS Word. Also remember that custom .PAT files should contain only a single hatch pattern definition. The individual lines of the definition may contain max. 80 characters.
ACADACLT
8.5.2017
15567×
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD LT ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

