Creating a new alignment with Dynamo script deletes the previously created alignment

This is Object Binding (the Civil 3D equivalent of Element Binding). Everything you need to know about it can be found here: Object Binding | Dynamo