Block references inserted by layer - how to keep previous insertions from disappearing

Have a simple insert block reference symbol along polylines selected by layer, it works fine when I run it on one layer, but when I select a new layer to insert the block references on the previous symbols disappear. Is there a way to retain the pervious insertions.

Thank you, John,

If you’re making a new selection in the same instance of the graph that you originally opened and ran, then you’re just updating the original run. If you want to execute your graph multiple times with new inputs/outputs, then you need to use Dynamo Player or close your graph after each execution.

Nick Thanks,
I am running from the player, but it still removes pervious run inserts some of the time, when I run the second time, it keeps the first run inserted symbols, but any runs after that remove whatever was the pervious run. I even saved and quit dwg, closed player and tried to run again and it seems to always remove the pervious insertion run, but it keeps the first run insertions.

Dynamo for Civil 3D uses a different method of element binding, forcing you to select between “in the DYN”, “In the DWG”, or “no binding”. If you configure that correctly for your intent it should keep everything.

This thread should give you the information needed to decide how to configure for your use: Dynamo For Civil 3D Binding

Jacob Thanks for the link, because I don’t know anything about binding. I did a test for string contains and it worked as expected, inserting symbol on all layers with demo, but I like the option of user select layers.

Thank you, John,

If I understand the binding described in the link, this binding in the image should insert a new instance of the block by layer if run from the player, yet it still removes previous insert runs.

Check the link carefully.

Depending on how your file and Dynamo is set up you could be storing the bindings in the .dwg instead of the .dyn.

Thanks Jacob, I’ll look, I watched a video that showed checking the dyn file with notepad, but I also
saw that, I think in my case that IT might have to switch that setting in the administrative settings.

Thank you, John

1 Like