Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator and the updated Barcode generator.
New AutoCAD 2026 commands and 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
14777×
applies to: AutoCAD · AutoCAD LT ·