Clicky Web Analytics
presentation
documentation
creation
automation
bim after dark live

Thursday, November 18, 2010

Revit Tip - Save All Families in a Project to RFAs and Folders

Great tool that I think can help many people in many ways... Oh, the possibilities... 

From What Revit Wants....

Save All Families in a Project to RFAs and Folders AUTOMATICALLY

This is awesome.  Let's say you have a project with heaps of families in it, and you want to save them to individual files.  There is an API add on that does exactly this.  How do you get it and use it?


First of all, download this file (Chapter 24) from the Sybex resource page for the book Mastering Revit Architecture 2011.


Now:

  1. This is a ZIP file, so unzip the file.
  2. Browse in the contents to:
    \c24\ExampleApplication\ExampleApplication\bin\Debug\
  3. Copy everything from this folder to:
    C:\Revit Projects\
  4. Copy the two .addin files from the \c24\ folder to the correct location as shown below:
        * For a specific user:
              o For Windows XP - C:\Documents and Settings\\Application Data\Autodesk\Revit\Addins\2011
              o For Vista/Windows 7 - C:\Users\\AppData\Roaming\Autodesk\Revit\Addins\2011

        * For all users:
              o For Windows XP - C:\Documents and Settings\All Users\Application Data\Autodesk\Revit\Addins\2011
              o For Vista/Windows 7 - C:\ProgramData\Autodesk\Revit\Addins\2011

    Refer to
    this post at The Building Coder for more information.
  5. Restart Revit 2011
Now, on the Add-Ins ribbon, there will be a new section for the Revit Family Export Utility:













 
When you run this with a Project open, it will prompt you for a directory, and then it will save all the families from the current Project to .rfa family files, and it will put them into appropriate directories (by Category) for you!

This is a very cool tool - thanks to Don Rudder for his great chapter in the book, and for this excellent API demonstration.