Revit API rebar from curve

Hello everyone
I want to create rebar like above pic but i don’t know that how to input "XYZ’ and “curves” .
Can you explain me?
Thank a lot :pray: :pray:

Hi,
a description of the parameters is indicated on the API Doc

there are some examples on the forum

https://forum.dynamobim.com/search?q=CreateFromCurves

Thank a lot for your recommend.
I found i miss to insert UnwrapElement() it make my script error. :pray: :pray: