Creating rebar group using dynamo

i made rebars from polycurves and i want to make them as a group how is that done using dynamo

What have you tried so far?

You can create sets with the Structural Design package, RebarContainers are created via the API which would be easiest with a Python node

If you haven’t checked out this post, How to get help on the Dynamo forums, please take the time to review

is it possible to convert some of existed individually rebars in Revit and make them group using this node “rebarcontainers” what is the code inside the python node because i don’t know python.