Saving/Exporting Sections of Model

I have a Revit file that is acting as a container file/library for multiple apartment units types. I’m able to export these out as different Revit files through the save as > library features, but this does not appear to be an option in Dynamo.

What is the best way to bulk-export multiple groups…or just sections of a model using dynamo/python?

Thanks!

Aaron

Knowing that it’s two clicks and built into Revit’s core toolset, why do this in Dynamo? You’ll almost certainly spend more time opening the app, and then the graph, then it would just using the existing feature.

Well, it’s tied into pyrevit…so there is no opening of Dynamo. And this has the potential of containing dozens of apartment unit types, so exporting the groups by hand really won’t take that long until we get a lot of these in one project to export at one time.