Custom Node deletes created elements

Goodday,

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?

Cheers,

Tom B

Hi @T.Broekhof,

Have you tried “baking” the created elements?
These pages could help:
https://zhukoven.com/2017/07/20/dynamo-deletes-previously-placed-elements-after-each-run-workaround/

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