XS_REBAR_VERTICAL_FACTOR
This advanced option must be set in an initialization (.ini) file.
When you create or modify a rebar set, Tekla Structures automatically attaches each bar in the rebar set to a concrete part. This concrete part is the parent part of the rebar set bar, and it is chosen according to a certain algorithm.
This advanced option sets a factor that can be used in fine-tuning which rebar set bars are considered horizontal, even though their bar planes are vertical. The default value for this factor is 2.
If a bar's overall horizontal extent H is longer than or equal to its overall vertical extent V multiplied by the default factor of 2, the bar is considered horizontal. Otherwise the bar is considered vertical.

(1) = horizontal bar, (2) = vertical bar
In general, a bar in a rebar set is considered horizontal if:
H ≥ XS_REBAR_VERTICAL_FACTOR * V