This method worked for me!
I need to run my Dynamo script until I’m satisfied with the instances created -hosted to a topo. surface; so, I want to avoid copying and pasting with additional re-hosting steps. Next, I want to leave them as-is and create a new set.
Run script for final instances
Save the Dynamo file
Find file folder and rename the filename with a new extension for opening in Notepad, e.g. “filename.dyn” becomes "filename.dyn.txt"
Open it in Notepad
Scroll down to the bottom to find the section "SessionTraceData"
Highlight and delete all the block of characters including the header text “SessionTraceData” all the way down to “/SessionTraceData” including that text and the “<” “>”, characters, too
Leave no extra blank lines
Leave the text “/Workspace” at the end
Save the edited file
(un)Rename it by removing the .txt you added earlier -ignore any error message about files becoming unusable or associated with another program because you are deliberately altering the file
Re-open the script and run a new set of instances unlinked to the previous set
Looks like a lot of steps and a little scary tinkering with the file innards, but it’s easy and convenient for me.
Thanks to all sharing their knowledge and the programmers pioneering Dynamo scripting for Revit. You people are saving thousands of mouse clicks!