CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2600 

CAD tip CAD tip # 11415:

Question CAD 
 %  platform  category 
Q - question

Error in pattern file. Missing parameter on line XXX.

A - answer 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.

ACADLT
100% *  CAD 
8.5.2017    5077×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 12416:How to export DXF outline of unfolded sheetmetal in Fusion 360, with no bending lines.
Tip 12018:How to transfer an AutoCAD hatch pattern to Revit?
Tip 11409:Catalog of all available hatch patterns.
Tip 11246:Easier hatching between two polylines - Hatch2L.
Tip 10118:How to export a DXF file with punch points from an unfold?


Back   All CAD Tips All CAD tips&tricks



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2020 More info


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist