2022 Class
Changes 7
C

BarTypeDiameterOptions

Description:
This class stores the diameter information from the RebarBarType.
Remarks:
This class can be used to create a whole new set of diameter values for a RebarBarType. It can be used when copying the diameter information as a bulk of data from a RebarBarType to another. The new diameters can be set in the RebarBarType in the following way: 1. Create a BarTypeDiameterOptions object with the new diameters. 2. Set the new diameters in RebarBarType using [!:Autodesk::Revit::DB::Structure::RebarBarType::SetBarTypeDiameters(Autodesk::Revit::DB::BarTypeDiameterOptions ^diametersOpt)]. The method [!:Autodesk::Revit::DB::Structure::RebarBarType::SetBarTypeDiameters(Autodesk::Revit::DB::BarTypeDiameterOptions ^diametersOpt)] is responsible for diameters validation.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.BarTypeDiameterOptions
public class BarTypeDiameterOptions : IDisposable
Name Return Type Description
C BarTypeDiameterOptions() None Constructs a new BarTypeDiameterOptions with default settings.
C BarTypeDiameterOptions(RebarBarType) None Constructs a new BarTypeDiameterOptions copying the diameter information from the bar type.
Name Return Type Description
M Dispose() None Releases all resources used by the
Name Return Type Description
P BarDiameter double Defines bar model diameter of rebar
P BarModelDiameter double Represents the bar model diameter of the RebarBarType.
P BarNominalDiameter double Represents the bar nominal diameter of the RebarBarType.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P StandardBendDiameter double Represents the standard bar bend diameter of the RebarBarType.
P StandardHookBendDiameter double Represents the standard hook bend diameter of the RebarBarType.
P StirrupTieBendDiameter double Represents the stirrup/tie bar and hook bend diameter of the RebarBarType.