Dynamo runs unopened scripts on startup

Hi All,

I’m getting this strange behavior where Dynamo runs a script 2x when I open up Dynamo in Revit. I haven’t even opened a graph yet and it runs this. So far I’ve tried removing all the various packages b/c it was at first running an Orchid node, but now it just runs those unamed scripts.

Any ideas?

I think this is likely adding the Dynamo materials to your material library - double check by opening materials browser, looking at the Dynamo materials and then trying to undo twice.

1 Like

Hi Jacob,

You’re correct, it does seem to be loading in Dynamo materials.

Is that normal? I guess I just never noticed it and though it was out of the ordinary. The real problem is still happening however, which is that after sucessfully running a script, upon opening a new graph, dynamo runs a script again, which deletes elements created in the previous script.

This image shows what it looks like right after successfully running the intended script.

And then this shows what it looks like after opening a new graph. The detail items in the view are gone.

Any ideas on this? I could swear this wasn’t happening yesterday.

Yes, totally normal.

The removal of elements is either Element Binding or the use of a non-standard creation method (i.e. Python) that has been coded slightly incorrectly. Without seeing the graph I can only hazard those guesses though.

Looking at the graph I found that this node has an input for “track” (default true). Once I set it to false the families stopped disappearing. Is that this node’s toggle for Element Binding?

Either way it’s now at least functioning as intented - thank you!

Yes, that would be a binding control by the looks of it. :slight_smile: