Namespace:
Autodesk.Revit.DB
BarTypeDiameterOptions
Class
Description:
This class stores the diameter information from the RebarBarType.
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.
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.
BarTypeDiameterOptions Class Members:
Name | Description | Inherited From |
---|---|---|
BarTypeDiameterOptions() | Constructs a new BarTypeDiameterOptions with default settings. | |
BarTypeDiameterOptions(RebarBarType) | Constructs a new BarTypeDiameterOptions copying the diameter information from the bar type. |
Name | Description | Inherited From |
---|---|---|
BarModelDiameter | Represents the bar model diameter of the RebarBarType. | |
BarNominalDiameter | Represents the bar nominal diameter of the RebarBarType. | |
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
StandardBendDiameter | Represents the standard bar bend diameter of the RebarBarType. | |
StandardHookBendDiameter | Represents the standard hook bend diameter of the RebarBarType. | |
StirrupTieBendDiameter | Represents the stirrup/tie bar and hook bend diameter of the RebarBarType. |
Name | Description | Inherited From |
---|---|---|
Dispose | Releases all resources used by the BarTypeDiameterOptions | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |