Beams not consistently orient in the intended direction

Some of the beams I sent to Revit are oriented in the wrong direction. Are there any solution to ensure consistent of its orientation?

Hi Panudhon, The beam rotation is controlled by the Cross Section.

Thank you, Japhy. But some of the beams are oriented correctly some of them are not. I can manually rotate just the wrong one. Just curious why this has happened.

We’ll need more detail to be able to properly help. Thanks!