Share

DuctSettings.SetSpecificFittingAngleStatus Method

Sets the status of given specific angle.


Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void SetSpecificFittingAngleStatus(
	double angle,
	bool useInLayout
)

Parameters

angle  Double
The specific angle (in degree) that must be one of 60, 45, 30, 22.5 or 11.25 degrees.
useInLayout  Boolean
Status, true - using the given angle during the duct layout.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException The given value for angle must be 90, 60, 45, 30, 22.5 or 11.25 degrees.
InvalidOperationException Can not set an angle status for an invalid angle.

See Also

Reference

Was this information helpful?