Want to change cross_section Rotation for revit beam generated via structural framing

I will use elements.setparameterbyName but how do i match my list of excel changes with the beam elements in Revit?

People can’t really answer a question which is lacking in info.

Post your graph indicating what you’ve done and what you’re stuck with, a sample excel file, and a sample Revit file and you may find that you get more responses.