Rebar container.byCurve / rebar container

Hello,
Could somebody me the following, I’m using Dynamo rebar to create rebars that are following the Y axe for a curved edge. And it works to create the rebar if i use the note Create.fromCurves.
But it fails when i try RebarContainer.byCurve or try to create a container of the rebar behind create.from.curve.
Does somebody know what the problem is?
I also added the script.
Is it normal that i have to wait like 2-3 minutes to let them creat the rebars?

Speld rand plaat Y-richting.dyn (156.4 KB)