How to put stacked wall(s) list to excell or simply into a schedule within Revit?

I have found a script that can be used for listing stacked wall elements, as they consist of two wall types. However, It only appears in dynamo, and I got stucked finding out how to create a schedule or export it to excell.

Here is the picture about the script:

I hope you can help!

Best regards,