Basepoint and rotation angle problem!


I have tried to make a script which would use a corridor baseline to insert a block. Later on I would like to change that corridor baseline into a regular polyline,but for now lets just focus on this. I do insert the sequenced node of a baseline as a Origin, but when I do get something in Civil, it is moved 2x the origin location(starting point of a baseline ID) to X and Y coordinates. I cant really tell where the error is, since I started with dynamo yesterday. Any help would be greatly appreciated!

Here is a screeshot:

@stefan.khz welcome to the forum, there is another node to create Block References that takes a coordinate system. I strongly recommend to use that node instead of the one you used.

Thank you Paolo, I have managed to finish up the script!