Placing Rebar in REVIT with Dynamo

I´m a new to Dynamo, so I´m in the very bottom of the learning curve.
Managed the tutorial videos thought.

Watched some classes at AU, and one in particular got my attention.
It´s about placing rebar in blended sections.

But:

  1. It doesn´t work nicely in REVIT 2020 (doesn´t place stirrups by spacing… Can´t undestand why)
  2. It´s doesn´t work with rectangular beams

So I´m Struglling pointlessly to come up with a scrip like this one, with a option for placing rebar in the top surface and another in the bottom, that can work, and getting this one to work as well.

In annex follows the Script design by Dieter Vermulen.

03 Blended Shapes.dyn (81.7 KB)