connect vertex/knots in a shape with 2 splines

0 votes

Hello. Basic question (but i can't find it on the internet)

I have a shape with 2 splines: /sp1v1--sp1v2/ /sp2v1--sp2v2/.

Now i want to connect sp1v2 with sp2v1.
something like this:

select $MyShape
subObjectLevel = 1
splineOps.startConnect (1,2) (2,1)

can someone give me a hit? tnx