查看: 2925|回复: 7

Save All Families in a Project to RFAs and Folders AUTOMATICALLY

  [复制链接]

发表于 2011-9-21 12:44:10 | 显示全部楼层 |阅读模式
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:
This is a ZIP file, so unzip the file.
Browse in the contents to:
\c24\ExampleApplication\ExampleApplication\bin\Debug\
Copy everything from this folder to:
C:\Revit Projects\
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.
Restart Revit 2011
Now, on the Add-Ins ribbon, there will be a new section for the Revit Family Export Utility:
save families.jpg
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.

Consider some ways you could use this:
Load a bunch of families into a project and get this tool to sort them into appropriate folders for you.
You have an RVT but you do not have the RFA files for families loaded into the RVT - use this tool to get them all out quickly.
Transfer all RFAs from one RVT to another by saving them out and then loading them all in at once.

评分

1

查看全部评分

回复

使用道具 举报

 楼主| 发表于 2011-9-21 12:46:19 | 显示全部楼层
本帖最后由 wudingmao1 于 2011-9-21 20:05 编辑

文件已发出
回复 支持 反对

使用道具 举报

发表于 2011-9-21 14:21:13 | 显示全部楼层
这个类型的插件我早就想要了  靠你啦 老兄
回复 支持 反对

使用道具 举报

发表于 2011-9-21 16:45:45 | 显示全部楼层
全是鹰文呐。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-21 19:52:22 | 显示全部楼层
缺失的文件现在补上!

c24.zip

277.97 KB, 下载次数: 661

点评

很好,支持。  发表于 2011-9-21 22:48
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-21 19:52:53 | 显示全部楼层
意映卿卿 发表于 2011-9-21 14:21
这个类型的插件我早就想要了  靠你啦 老兄

文件已补上
回复 支持 反对

使用道具 举报

发表于 2011-9-21 22:50:11 | 显示全部楼层
wudingmao1 可惜我用不到了,似乎没见到 for revit2012的文字描述。烦请楼主能提供下?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-22 13:40:40 | 显示全部楼层
maya88 发表于 2011-9-21 22:50
wudingmao1 可惜我用不到了,似乎没见到 for revit2012的文字描述。烦请楼主能提供下? ...

最近几天请关注一下AU论坛发的在线视频。也就是9.20号下午2:30的在线讲座。里面有详细信息,由于AU说三个工作日会上传视频,我也就没有录制。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则