IsValidConeAngle Method


Conical Surface Is Valid Cone Angle Method

Checks whether the input value lies is not 0, greater than -PI/2 and lesser than PI/2.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsValidConeAngle(
	double halfAngle
)

Parameters

halfAngle Double
Cone half-angle parameter.

Return Value

Boolean
True if input is not 0, lesser than PI/2 and greater than -PI/2, false otherwise.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →