The thing that comes to mind here is that you probably have to ‘refresh’ your Civil3D, the changes have been made, but aren’t visible untill you refresh.
You could do this manually by using the REGEN command or by adding some nodes at the end of your script which would send this command + ‘Enter’ automatically to the Civil3D command line. I know that the Camber package has a node to send commands automatically.