I don’t know how to programmatically rotate them, but I can think of a partially scripted work around.
Get the wall using a select model element node, then use a element location, pull the start and end points and make a vector by those points.
Set the view using a select model element node, use the view.plane node (clockwork I think) to query the plane of the view, and get its normal.
Use an angle about axis node to get the angle between the two vectors.
If the angle is > 180 subtract 180 with a code block like RotationAangle > 180? RotationAngle-180:Rotationangle
If it is a section view add 90 with a similar code block or set of logic nodes. If it is an elevation leave it as is.
Copy that angle to the clipboard with a clipboard send to node and manually rotate the view by the given angle. This last part stinks to have to do, but short of pyton script using the API function to rotate a view (if such a thing exists) I don’t have any other ideas at the moment.