Uwe ,thank you very much ,now it works!
Quote Originally Posted by Uwe View Post
You need to create and attach 2 curves - your code assigns 2 different sets of points to the same curve.

Uwe