Print views from linked models

Print views from linked models

Anonymous
Not applicable
945 Views
3 Replies
Message 1 of 4

Print views from linked models

Anonymous
Not applicable

Environment: Revit 2013

 

My users have a large main model with a bunch of smaller models linked in.  It is a hassle for them when they need to print a sheet from one of the linked models because they have to close the main model, open the linked model, print the linked model, and then open the main model again and wait forever for it to load.  

 

It would be nice if they could have a tool to print any # of sheets from the main/linked model(s) without having to to do the opening/closing of models.  I've tried using UIApplication.OpenAndActivateDocument to switch between documents and print but that physically opens them as well.  The ideal situation would be to print using the database info.  Is there any way to do this using the API?

0 Likes
Accepted solutions (1)
946 Views
3 Replies
Replies (3)
Message 2 of 4

Joe.Ye
Alumni
Alumni
Accepted solution

I don't think there is a workaround to print the linked model's views.

 

Just did a quick test to filter out a view from the background document for a linked model. And tried to print a view in this background document. However nothing was print, and Revit crashed.

 

The request is indeed useful for end users. I will let the engineering team know this.



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 4

TimonHazell-WPM
Contributor
Contributor

After just a few years this is now possible.  See the code inside the free addin PyRevit for printing views from linked files.

 

https://github.com/eirannejad/pyRevit

 

0 Likes
Message 4 of 4

LyleHardin
Advisor
Advisor

I'll add to this 'ancient' thread.

A simple work around is to open another instance of Revit and open the linked file there.