STAAD. Pro: Rotating some entities with the commands.

I want to select some beams and rotate them with commands.

So, here is the question:

How to select entities, and how to rotate them using the commands in Staad. Pro?

Many thanks,

Xiaolong