RTV Tools

Monday, September 17, 2012

Harvesting Hatch Patterns from Revit to PAT files

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

6 comments:

  1. Why not use the hatch creator from Mertens directly inside of Revit?
    http://mertens3d.com/revit-2011-addin-portal/hatch22/hatch22.php

    ReplyDelete
    Replies
    1. Good tip. Current download page for the add-in:
      here

      I guess my method above will still be useful for those who don't want to install an add-in, or if they can't (Revit LT users).

      Delete
  2. Hello,
    I have another way to create files pat without open or install any autocad or revit addin.
    you can see in
    http://ricardocc.com/Truques-e-Dicas/recuperar-os-ficheiros-pat-gerados-pelo-revit.html
    (is a portuguese site - http://translate.google.com :)

    ReplyDelete
  3. Another option I wrote up earlier this year:
    http://notanotherrevit.blogspot.com/2012/01/tip-extracting-pat-files-from-revit.html

    ReplyDelete
  4. Browse our easy to install AutoCAD Hatch Patterns. We feature both a wood and stone hatch pattern set or a large collection of hatch patterns – over 350 available … or create your own hatch pattern with the Hatch Pattern Manager!

    ReplyDelete
  5. The HatchKit Add-In for Revit exports selected fill patterns from Revit to external .PAT files via HatchKit 2014 for Revit or HatchKit 2014 Professional. HatchKit 2014 is not tied to any particular version of Revit.

    ReplyDelete