This only works for orthogonal, simple geometries (bricks, tiles, simple grids). Curves and diagonals often fail.
To create a true, portable .pat file from raw line geometry, specialized software or plugins like HGEN (Hatch Pattern Generator) are required. SAVING AUTOCAD DWG AS .PAT FILE - Forums, Autodesk convert dwg to pat file