Why is this method wrong in Python?

Hello! Forum!

In C#, the right method is wrong in Python. How can I use it in Python?

pythonques.gh (3.6 KB)

import Rhino.Geometry as rg
from System.Collections.Generic import List
a = x.Split(List[rg.Curve](y), 0.01)

pythonques.gh (5.7 KB)

Certain RhinoCommon methods require statically typed lists:


pythonques.gh (5.5 KB)

Edit: Seconds late, happy birthday @Mahdiyar :cake:

1 Like

Thank you very much!