Set up automatic railing placement for stair or ramp creation.
You can select the railing type, and for a stair, specify whether to position the railing on the treads or stringers.
Circulation panel
(Ramp).
Circulation panel
(Stair).
(Railing).

(Place on Stair/Ramp) tool.
(Finish Edit Mode).