Running Dynamo and keeping objects created

Another workaround:

run your script, select all knots, open a new dynamo-file, insert the knots run the sript again,