How to solve problem of replacing blocks related to offset and spacing Alignment?

This problem is happen with any script based on Alignment offset and spacing !!

As example this dynamo and dwg from the below link

(credit @mzjensen )
You can check attached GIF.

The problem is once you’ll run script with block and need to repeat step with another block .
The old block will be removed.

Also i tried civil3d binding(Dynamo Office Hours: Blocking It Out - #7 by patrick.ericson) that recommended from @patrick.ericson
But still the same problem

The only solution that i tried to overcome this problem (after running first script ,you need to save and close dwg after that open it again to repeat script with another block).
Recording2024-01-27at13.48.41-ezgif.com-optimize

Think you might want to try in an updated Civil 3D build, as I believe the bindings mechanism was changed in 2023. Make sure 2022 updates are installed too. :slight_smile:

This is the version
image

I think current is 2022.2.6 for C3D, and 2022.1.3 for AutoCAD.

That said try 2024 as I believe the binding mechanisms have changed. Note that 2022 is almost 4 years old at this point, and the video you linked is less than a year.