Replication problem with cuboid generation

Hello,
I’m trying to generate some cuboids to manipulate a “curved” brick walls in Revit.
I was succesful in making one wall from a single model curve. But now I 'm trying to join some curves in a polycurve to do the same.

But the whole brick wall doesn’t appear in Revit.

Any idea why ?

Version pour plusieurs courbes.dyn (1.1 MB)