Hi @zodi …Welcome to the dynamo forum…I had tried many solutions…(BG open and close)…I think the best and most steady is Birdtool, but there are many other ways and Orkestra oc…
Most graphs (and nodes) are written to run on the active Revit document. This means that you need to write your graph to open external documents in the background and either find nodes that run on a specified document or write custom python code to do the same.