Hi @petrlanik
The segment lengths are measured to the exterior. In the properties palette, the lengths are shown non-rounded, and in brackets, rounded according to the reinforcement rounding options.
When defining a formula for the bar length, all the segments are evaluated to the exterior, as shown in the properties palette.
Regarding how they are measured, we have the following situations:
If the angle is equal to 90 deg, then the dimension is tangent to the adjacent segment

If the angle is below 90 deg, the dimension is tangent to the fillet

If the angle is above 90 deg, the dimension is measured from the intersection of the exterior of the segments joining in that corner.

There are two dimension references (visible when hovering the cursor over the corner) that you can use to add dimensions.

For a shape with adjacent bends above 90 deg and in opposite directions, the distance is measured on the diagonal between the exteriors of the segments. If you dimension from the previous two references, the difference will be quite small.


For each rebar, the segment lengths are reported and can be used through schedules and API to extract data for any kind of format. Of course the bar geometry itself can be obtained through API as well.
Please take a look at our public roadmap for further information about our current plans https://www.autodesk.com/blogs/aec/roadmap/revit-structure-roadmap/?redirected=1
The rebar shape family doesn't flex like other families. It is used to define the shape geometry and constraints.
The dimensions and their parameters define which segments, orthogonal dimensions or angles are controlled and reported by the parameters.
Right now the only formula you can define is an equality formula for params, for example A = B for the opposite legs of a stirrup, to create a square stirrup. Other formulas are not supported. You can check the rebar shape status control in the ribbon, to see if the shape is correctly defined and can be loaded into the project.
Ovidiu Paunescu, M.Sc. Str. Eng.
Sr. Product Owner | Autodesk Revit