A unique identifier used for a bar within a variable length rebar set.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2017
Syntax
C# |
---|
public string RebarVaryingLengthNumberSuffix { get; set; } |
Visual Basic |
---|
Public Property RebarVaryingLengthNumberSuffix As String Get Set |
Visual C++ |
---|
public: property String^ RebarVaryingLengthNumberSuffix { String^ get (); void set (String^ value); } |
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).
- For alphabetic suffix : Aaz -> Aba -> Abb.
- For numeric suffix : 129 -> 130 -> 131.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException |
When setting this property: The rebar number suffix is not valid if :
|
Autodesk.Revit.Exceptions..::..ArgumentNullException | When setting this property: A non-optional argument was null |
Autodesk.Revit.Exceptions..::..DisabledDisciplineException | When setting this property: None of the following disciplines is enabled: Structural. |