Split curve into 2 parts in python

I am trying to split curve into 2 parts through python.
How can I solve below error?

There are a few things going on in your code…
Indentation isn’t correct after your if statement, and there are a few undeclared variables !

For a single curve, the simplest way is like this (I assumed you wanted to use rhinoscriptsyntax) :slight_smile:

1 Like