I previously posted a way to generate PAT files from an exported DWG file.  One of the comments to that post gives a great alternative method – so unique it actually made me smile.

You may have noticed that when you export a DWG file, Revit temporarily creates PAT files in the export folder, and then it deletes them, just leaving DWG and PCP files.

To recover the deleted PAT files, you can simply use the program Recuva!

I’m not sure how well this works for network shares or NAS devices, but it should definitely work if you export the DWG to a local drive and immediately recover the PAT files (before doing anything else).

Pretty tricky huh?

Image from http://ricardocc.com/

via
Recuperar os ficheiros *.PAT gerados pelo Revit | Truques e Dicas | Revit | Blog

You have a Revit file with some custom hatch patterns (filled regions / fill patterns) in it.  You want to turn them into PAT files for re-use in AutoCAD or some other drafting program.  Here’s how:

  1. Make a Drafting View in Revit with a couple of Filled Regions in it.  
  2. Set the filled Regions to the Revit Hatch Patterns that you want to export to PAT files.
  3. Export the Drafting View to a 2000 version DWG file
  4. Open the DWG file in AutoCAD
  5. In AutoCAD, APPLOAD then browse to getpat.lsp file.  To get this file, right-click and Save Target as from this link.
  6. After loading the lisp file, File – Save As the DWG, to something in the same directory (this step just makes AutoCAD and the LISP aware of where the PAT files should be saved)
  7. Then, type GETPAT
  8. Select the hatch you want to export.  It *should* be saved as a PAT file to the same directory that the DWG file is in.

EDIT – you could also try this method:
What Revit Wants: Native Revit can make PAT files too – you just have find them …

In response to this tweet:

Related forum post:
http://forums.augi.com/showthread.php?71833-Creating-a-pat

More free lisps:
http://www.turvill.com/t2/free_stuff/index.htm

Do you love or hate Revit Fill Patterns?  Here is a collection of some tips and tricks related to Fill Patterns, or ‘hatching’ in AutocadSpeak.

Overview
On your system, open up your Revit installation directory, and the Data subdirectory.  There should be two PAT files here:
revit.pat (This file contains the standard set of custom fill patterns distributed with Autodesk Revit.)
revit metric.pat

If you want to load some of these patterns into your project, use the normal procedure (Fill Patterns – New – Custom -Import).  Copy the location of the PAT files from your navigation bar in Windows 7 into the dialog and hit Enter.  Click on one of the files and you can select one of the patterns to load.

General Hatch tips
(refer to “C:Program FilesAutodeskRevit Architecture 2012Datarevit.pat”)

  • Once a pattern is imported, it is stored in the project, independent of the original file.
  • Drafting patterns are defined in paper units. If you import the pattern at scale 1 and print at 100% zoom, the pattern’s dimensions on paper will be exactly as specified in the file, regardless of view scale.

Location of Default Revit fill patterns
Default Revit fill patterns are stored in the revit.pat and revit metric.pat files in the Revit program group Data directory. The revit metric.pat file contains various metric masonry and iso patterns. 
via Creating a Custom Fill Pattern – WikiHelp

Differences between AutoCAD and Revit .PAT files
(refer to “C:Program FilesAutodeskRevit Architecture 2012Datarevit.pat”)

  • AutoCAD has an 80-character line size limit, Revit’s is 4096.
  • AutoCAD allows arbitrary sequences of dashes, spaces and dots, Revit coerces them into dash-space format by inserting zero spaces and dashes.
  • AutoCAD has a notion of dots, Revit expands them (including the zero dashes it inserted) into short dashes.
  • AutoCAD has a maximum of 6 components to a line pattern, Revit has no limit.
  • AutoCAD does not allow spaces in a pattern name, Revit does.
  • AutoCAD allows only one pattern per a custom file, with pattern name matching file name, and with the file residing in a known location. Revit has none of these restrictions.
  • AutoCAD and Revit utilize different logic to decide whether a pattern is acceptable.

I previously reposted a method on how to bring AutoCAD hatches into Revit with correct scaling.

The German Autodesk AEC team have put together a step by step tutorial on exporting a PAT file from AutoCAD and then importing it into Revit.

They have even shown how to correctly scale the imported PAT files numerically – rather than the haveAguessAndSee method that I generally use.

Image from autodesk.de

Here is a link to a translated version of the post:
Google Translate

Here is the original post:
http://www.autodesk.de/adsk/servlet/pc/item?siteID=403786&id=17857940

Who can put it better than Google Translate?

Much fun and success with Revit Architecture
, Autodesk AEC team