EquivalentDiameter Method


Sizing Calculator Equivalent Diameter Method

Calculates the equivalent diameter based on the specified profile type, width, and height.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public double EquivalentDiameter(
	ConnectorProfileType eShape,
	double widthOrDiameter,
	double height
)

Parameters

eShape ConnectorProfileType
The shape of the connector profile.
widthOrDiameter Double
The width or diameter of the connector.
height Double
The height of the connector.

Return Value

Double
Returns the calculated equivalent diameter.
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →