RVTDocs.com

ConduitSize

Constructor
Description:
Constructs an object that stores the basic size information for conduit.
Syntax
public ConduitSize(
	double nominalDiameter,
	double innerDiameter,
	double outerDiameter,
	double bendRadius,
	bool usedInSizeLists,
	bool usedInSizing
)
Parameters
Parameter Type Description
nominalDiameter Double Nominal diameter. The value should be a valid, positive Revit length.
innerDiameter Double Inner diameter. The value should be a valid, positive Revit length.
outerDiameter Double Outer diameter. The value should be a valid, positive Revit length.
bendRadius Double Minimum bend radius. The value should be a valid, positive Revit length.
usedInSizeLists Boolean Whether it is used in size lists.
usedInSizing Boolean Whether is used in sizing.
Return Value
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.