Get centerline for "Rebar Sets" and for "Rebar In System"

Hi, How can I Get Centerlines for “Rebar Sets” and for “Rebar In System” in DYNAMO? Maybe there is some node for this, but i can’t find…