Rebar.DistributionType
Property
Description:
The type of rebar distribution(also known as Rebar Set Type).
The type of rebar distribution(also known as Rebar Set Type).
Remarks:
The possible values of this property are:
The possible values of this property are:
- Uniform
- VaryingLength
Syntax
[ObsoleteAttribute("<p> This property is deprecated in Revit 2025 and may be removed in a later version of Revit. The property Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor.UseRebarConstraintsToProduceVaryingBars can be used instead. </p> <p>To check if the set can have (but not necessary have) varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.CanHaveVaryingLengthBars. To check if the set has varying length bars you can use Autodesk.Revit.DB.Structure.Rebar.HasVaryingLengthBars.</p>")]
public DistributionType DistributionType { get; set; }
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |