Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Load Library of Custom Families

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
AGGilliam
609 Views, 2 Replies

Load Library of Custom Families

Is there a way to load an entire library of custom families? I've done a thorough search and can't seem to find anything. If not, have any of you done something like this through the api?

Our library of custom families is steadily growing and it would be nice to be able to load the whole folder into our template (rather than each individual family) whenever we make changes, but I'm not sure where to begin.

Labels (1)
2 REPLIES 2
Message 2 of 3
RPTHOMAS108
in reply to: AGGilliam

It's possible to load one family with the API so it is possible to load many families with the API.

 

Were you looking for a method that takes a folder location as an argument, if so then no that doesn't exist (no Document.LoadFamily overload for that).

Message 3 of 3
AGGilliam
in reply to: RPTHOMAS108

I was hoping there might be a method or some built-in function, but I suppose I'll just have to load one at a time within some sort of loop. Thank you!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report