Deleted Unexpected Items using Elements.Delete/ DeleteElements/ Eraser.Tool

Hi @htmokac

Have you tried using this script through the Player?

So make some Foundations and Convert them to Floors. Are the new floors also disappearing when you run the script on a new Foundation?

I think the problem is in the Session Trace Data (or “Bindings”) inside the Dynamo script. Everytime you run the script, Dynamo tries to do everything again and tries to “Update” the floor. The original elements (The foundation) is missing and Dynamo Updates the new Floor by Deleting this. The Dynamo player doens’t save those bindings.

Also good to check out: Element Binding in Revit

There are some View Extensions which remove the Bindings for you.

1 Like