NodeInCode DivideCurve strange result

Hi @piac,

The DivideCurve component returns three strange results, am I doing something wrong?

private void RunScript(ref object A, ref object B, ref object C)

  Rhino.NodeInCode.ComponentFunctionInfo cfi = Rhino.NodeInCode.Components.FindComponent("DivideCurve");
  string[] warnings;
  object[] result = cfi.Evaluate(new object[]{new Circle(2), 5, false}, false, out warnings);


  A = result[0];
  B = result[1];
  C = result[2];

  if(warnings != null && warnings.Length > 0){
    Array.ForEach(warnings, w => Print(w));
} (10.2 KB)

Thank you.

Hi @Dani_Abalde

it seems it’s exactly the same as Grasshopper, as expected… Not for you? (12.8 KB)

Thank you.