CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 9740

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    12875×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 13802:Dual-color hatches in AutoCAD.
Tip 13040:iLogic - display information about complexity of an Inventor part.
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.


Back   All CAD Tips



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:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info


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