OpenView in Revit family document opened in background

Hi All,

I would like to open 3D view in family document which had opened in the background before save the document.
I found a script from Crumple package which open view for current document but is not for background opened document.

Welcome dynamo and python expert to share your thought here.

Background documents generally wont show an active view as they are dealt with in memory I believe. You could combine my familydoc open node with collect.views possibly, or write some logic within a more developed python node to get all views in it with a filtered element collector then proceed as you wish.

For more custom routines with opening families I often recommend dealing with it all in one python node so you can catch/account all errors in one node and be sure the docs will be closed in memory also regardless of the outcome.

1 Like

This sounds like the perfect solution for bird tool’s Dynamo multi-player… set it up set the active view for the current model and save it. Then tell multi-player to process all the families in the directory and move on.

3 Likes

You definitely cannot interact with the active view from the background files.

But, you can set the starting view if that is what you are looking to achieve.

3 Likes