Multiple python scripts opening Excel

Hi all,

I have a dynamo script that I use to model rebar in a concrete beam.
The script works well but is awfully slow. One reason might be that I have 5 python scripts using Excel.
All of these scripts run at the same time as is visible in the Windows taskmanager.
A python node with multiple outputs would be fantastic but that isn’t available.
Is there anyway tot run my pythonscripts one after the other? I’m hoping to speed things up this way.

Clockworks has a Passthrough node that will run code sequentially.

image

Is there a reason you’re running each of these python nodes separately and not combining them into one node? Is the only reason due to the single output from python? You can return a list of items and then separate those items outside of python. They don’t have to be separate outputs.

1 Like

hi Nick,
Thanks for your answer. It’s a lot of output and it would be more organized with multiple output.
But I think I have to give it a try.

True, but there’s not difference in having multiple outputs from the python node and having a single output at the python node that gets split into multiple outputs at a codeblock.