You just need to extrude one to the correct height (with the PushPull tool ) then keep double clicking (still with the PushPull tool) on each face and they will repeat the same height.
💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
M