Family Swap


#1

Now with dynamo I am hoping to build in some automation. A perfect world to me would be if dynamo can get a list of loadable families within the project and write that list out to excel. In excel I can get a mapping done that if it sees one family it replaces that one with the new family (I kept the same Type name within old and new family). Then dynamo reads the new excel file and replaces the family with the new one keeping in mind I want it at the same location, same rotation and same type within the family.

Where I am at now is, without using excel, I can select a group of old family with different types and swap them with new family keeping the same insertion point and the same family type. I am hitting a wall with keeping the rotation the same. I am working on that though.

Dynamo020515


#2

fmthis scripts lists all available families (not types, this were an extra)

a second list for placed families - reduced to 1 family per type

writes both to two different excel sheets.

the rest is excel and reading the result back to revit


#3

I have taken a stab at working with exporting and then importing families in excel. What i am trying to accomplish with this is to replace Family: PUB_ORZ with Family: Case-Frz-ORZ. The Type needs to stay the same, whether it is 3 DR, 4 DR or 5 DR. Can anybody tell me if I am close or am I overreaching?

Dynamo030515


#4

James,

How did you go with this problem,
I’am trying to swap a curtain panel with another curtain panel, both are already in the project.

I can extract the panel that i want to swap from my project, but how do I select it and swap it?

Hope you (or someone else) can help.