Copy Views and Sheets Between Projects

Hi,

Is there a way to copy all the views and sheets from one Revit file to another? My current thought is to use these components.

1.Get the Sheet and viewport coordinates from the old file.
2.Use add views and “View Crop Region” to create views in the new file.
3.Use “Add Sheet” and “Add Viewport” to place the view ports in the new file.

However, in this method, I need to create views based on view types (plan, rcp, section, etc…). I am at version 1.24.9, didn’t find “Add Elevation”.

Thank you in advance, if there are any suggestions!

That would be a complicated process, PyRevit does have some tools setup for such a transfer.

Doing a project save as and then wiping the model (via pyrevit wipe tools or RiR) is probably the quickest way.

Yeah, I tried that one. It doesn’t copy the view ports, only the selected sheets. Maybe I used it wrong.

You can copy eligible Elements from one project to another like so…

There is a copy Viewports option in the Pyrevit command but not working here either.

There are a lot of potential pitfalls with copying some elements.

Got it, thank you, Japhy. I think I can achieve the one that immigrates the ‘floor plan.’ I will post it here if I get it tomorrow. Also, I guess the absence of ‘Add Elevation’ is due to the API?

Sections copy easy

Elevations not so much

1 Like

I did a draft script that can do the thing I described for a plan. Now I am wondering, if there is a Revit API that allows “Insert Views from File”. That may saves a lot of time for creating views in RiR. I will do some test this week.

image

CopySheetsAndViews_0.4.gh (60.7 KB)