Creating Family Types in Revit

revit
excel
dynamo

#1

I’ve managed to create a way in dynamo that can alter family type parameters by reading from a file:

It has done its job for a while, but I’d still like to be able to create new families via that same excel file. As you can see, It’s already reading out the names, but I’d like to see a way where if a family type does net yet exists, it will create a new family type with that given name.

I’ve already seen some ways on this forum using the “duplicate family type” node from the clockwork package, but I haven’t really understood how this actually works (I mean, I understand that you duplicate an existing one and then change the name and parameters, but not exactly how that’s happening).

Thanks in advance.


#2

Did you see these posts also?
http://dynamobim.org/forums/topic/create-new-family-types/



#3

I had seen the first one of those.
I somehow manage to not have the ElementType.Duplicate node in my list, neither do I understand what exactly is going on there.

On the second, even after downloading the package I do not have the DocumentUtitlies.GetFamilyDocument node, next to that I don’t quite understand what’s going on in the code block which I do think is quite important as I don’t want to be creating family types I already have nor want to override already existing ones.


#4

DocumentUtitlies.GetFamilyDocument is in my 2017.7.19 version of Beaker, try to type only “GetFamilyDocument” in the search field maybe…


#5

That works, thank you.

I’ll try to follow the earlier thread you linked.


#6

I’ve managed to recreate what’s in the thread.

I think the issue might simply because I’m working in Dynamo 1.2 because what I’m creating needs to work for Revit 2015 files.


#7

Due to the first one I’m getting somewhere, I’m not done yet, but thanks nonetheless.


#8

Don’t hesitate to send your questions with a screenshot of your graph, someone will surely take a look at it…


#9

I’m currently creating a topic with a question which, when answered, will let me finish it.
I already am able to create a duplicate, I’m only having trouble with getting the correct naming right, but I’m feeling that should be easily solved.

Edit: I already found a solution.