Custom Node deletes created elements


atm im working on a script which will automaticaly place multiple Pipes.

I’ve put my entire script in a .Dyf note to make it loop on a number, the script runs creates the pipe but aftherwards going to the next run it deletes the created pipe.

I know this is behavoir from Dynamo but it also does this in Dynamo player and aint go a clue why.

Does anyone have a workaround/solution for this problem?


Tom B

Hi @T.Broekhof,

Have you tried “baking” the created elements?
These pages could help:

This is element binding. Clear the bimdings as noted here and the graph should work without issue in player going forward.