Create spline with multiple segments

On 20/04/2013 at 13:23, xxxxxxxx wrote:

Hello all, I'm trying to create a linear spline object with multiple segments, this is proving difficult. Creating the spline -fine, setting point locations - fine, setting segments - 😢

I'm looking at spline.SetSegment() but it seems as the segments need to exist before you can set them. Does anyone know if there is a command to do this. I can think of a workaround which involves creating lot's of splines and connecting them but that seems sloppy and I'd rather not go down that route.

Any help would be much appreciated.

Thanks

Adam

On 20/04/2013 at 13:38, xxxxxxxx wrote:

`SplineObject.ResizeObject() to the rescue, crisis averte.

Thanks

Adam
`