VB Script error- Multiple offset of a curve

Can anyone help to fix the VB script error, please?

I am trying to make a series of offset from a curve using this script.

Here is the file:

offset_multiple.gh (6.4 KB)

Thanks in advance.

You’d better use crv_array.Length or crv_array.Count() instead of crv_array.Count.
Maryam.gh (15.0 KB)

thank you