As a general rule the section depth (d) is parallel to the element’s local Y direction and the section width (b) to the element’s local Z direction.
For BOX, RHS and PRI the section depth (d) is always the larger dimension and the section width (b) the smaller. For I sections, Izz should be the strong axis inertia and Iyy the weak axis inertia. BEAMST will then assume that the web is in the local XY plane. The resulting BEAMST Izz will then equate to the Ixx values as listed in standard section tables (and the BEAMST Iyy equates to the Iyy values).