ConduitSize
Constructs an object that stores the basic size information for conduit.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ConduitSize( double nominalDiameter, double innerDiameter, double outerDiameter, double bendRadius, bool usedInSizeLists, bool usedInSizing)
Parameters
nominalDiameterDouble
Nominal diameter. The value should be a valid, positive Revit length.
innerDiameterDouble
Inner diameter. The value should be a valid, positive Revit length.
outerDiameterDouble
Outer diameter. The value should be a valid, positive Revit length.
bendRadiusDouble
Minimum bend radius. The value should be a valid, positive Revit length.
usedInSizeListsBoolean
Whether it is used in size lists.
usedInSizingBoolean
Whether is used in sizing.
Exceptions
Exception
Condition
ArgumentOutOfRangeException
The given value for nominalDiameter must be greater than 0 and no more than 30000 feet. -or- The given value for innerDiameter must be greater than 0 and no more than 30000 feet. -or- The given value for outerDiameter must be greater than 0 and no more than 30000 feet. -or- The given value for bendRadius must be greater than 0 and no more than 30000 feet.