Dynamo for C3D to fast? Point group not being recognized for terrain generation

Hi there, trying to get myself familiar with Dynamo for Civil 3D. i built a simple script for building a terrain from a CSV file. It look like Dynamo is running to fast: The Point group is beeing created but afterwards i always get the message that there is no point group in the drawing. Only when i run the script a second time the terrain is being created. Any ideas on how to slow the script down or take another “round”? Any explanation?

please upload dyn file
ill take a look

here we go. Thanks!
2021_C3D_DYN_Terrain from CSV3.dyn (52.1 KB)

Dynamo will not run nodes in the logical order you have placed them.

What it might be worth while doing is getting the cogopoint group name after it is created then input this into the tinsurface creation by cogo points.

What this will do is make sure the tin surface creation does not try to create until it has actually been created.

Note:
I have not tested this if it will work, but it should sort how things are run.