CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.133.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
See the new Beam calculator, Engineering calculator, Tolerances, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.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
16331×
![CAD Forum - ARKANCE Community - 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)

What is the ARKANCE Community?