This is Part 1 of a three-part post on my ‘Super-Family’ creator.
TLDR: Does anyone know of a way to place instances of Line-Based Families within the Family Editor (ie, as subfamilies)?
So far this process almost works; but is broken by the behavior of two-pick (Line-based) families in Revit, and the lack of API support for such objects at the family editor level. (see my growing list of really annoying Revit ‘features’)
What is a ‘Super-Family’? Essential it’s just a family with a whole bunch of Nested Subfamilies (mostly Shared Subfamilies) which can be placed as a single object in Revit.
Why try to automate this process? Well, Revit has one (actually it has many more) really annoying “feature” in that for some unknown reason you can’t copy objects between a Project and a Family. Not even between a Project and an In-Place family within that Project! To me this is obvious functionality that has been missing since, well, forever.
I’m no genius at C# so I’m doing this in Dynamo…
What does this Dynamo Script do?
This first script creates a text-form output of selected objects in Revit. Note that in this example I’m filtering some items out - notably System Families that cannot exist within a Family ( another gripe of mine…)
The Script and Example files are attached to this post, along with a sample output in XLS format.
Open the Project file, select some objects (add your own objects if you like) and run the script. The output should be something similar to the example XLS file.
The XLS file is used in the second and third parts to create a ‘Superfamily’
Superfam Object Lister.dyn (61.5 KB)
Project_Copy_to_Family.rvt (744 KB)
Family_List.xls (9.1 KB)