I want to get parameter of the continuous beam in Revit by Dynamo as the picture below

and write to excel as this format

I got all the necessary parameters but I don’t know how to arrange the data logically and write to excel.

Anyone can help me! Thanks