All elements that have the part type cap in Revit are automatically assigned here.

This includes, for example, end caps.

No additional length is taken into account of the calculation.