The script to be run twice to get the result

Hi Forum,
I need to close a project and open a family template in background using dynamo. It’s happening, but i need to run it twice. In a typical scenario the whole script runs at 1 click. But here, the 1st time I run the script a new file opens, the 2nd time I run script, the intended file closes. I’ve used passthrough node too.

Hi :slight_smile:
Theres not much to go on without screenshots of your graph

Here you go.

You may try to add Transaction.Close, Transaction.Start nodes instead of Passthrough

1 Like