Saving a detached copy of a revit file

Hello,

Is there a way where I can use Dynamo to duplicate the current revit file?
I know it sounds weird but here is my situation

I have 25-30 revit files that I want to open as a detached files and save them locally onto my computer. It will be time consuming for me to open each revit file as detach copy and save a copy onto my local file.

I was thinking of using BVN batch processor to open all 25-30 projects in detached version and save them locally.

Any help would be appreciated thanks!

I don’t believe you can Save as model as Detached, but you can Save as a New Central, or Open a File as a detached copy, then save.

SaveAs Method (String, SaveAsOptions) (revitapidocs.com)

OpenDocumentFile Method (ModelPath, OpenOptions) (revitapidocs.com)

1 Like

Latest “Rhythm” Package has “OpenDocumentFile” node with Detach option.
image