2023 Property
Changes 0
P

ReinforcementSettings.RebarVaryingLengthNumberSuffix

Description:
A unique identifier used for a bar within a variable length rebar set.
Remarks:
This property affects only Rebar sets under the following conditions:
  • 1. The distribution type ([!:Autodesk::Revit::DB::Rebar::distributionType]) of the Rebar is DistributionType::Enum::VaryingLength.
  • 2. There are at least two bars within the Rebar set that have different shape parameter values (i.e at least two bars vary in length).

The shape parameters of a Rebar can be accessed via [!:Autodesk::Revit::DB::Structure::RebarShapeDefinition::getParameters] method.

The parameters at a specific index in a Rebar set can be accessed via [!:Autodesk::Revit::DB::Structure::Rebar::getParameterValueAtIndex] method.

This property is assigned to varying Rebar sets only if they are numbered as a whole (i.e. NumberVaryingLengthRebarsIndividually is set to false).

The values for this property are valid if :
  • Input contains at least one character.
  • Input contains either alphabetical or numeric characters (not both).
When this property is used, each bar in a varying set will be assigned an incremented value of the suffix. As an example, the suffix values for three bars in a varying set are:
  • For alphabetic suffix : Aaz -> Aba -> Abb.
  • For numeric suffix : 129 -> 130 -> 131.
These values are automatically incremented by the system.
public string RebarVaryingLengthNumberSuffix { get; set; }