Create Mesh with spline using Geometry Script | Unreal engine Code Snippet

Hello,

could someone be so kind and point me what I am doing wrong that I cannot make this run ?

Just simple snippet…

(post deleted by author)