SetSpecificFittingAngleStatus Method


Sets the status of given specific angle.

Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2014

Syntax

C#
public void SetSpecificFittingAngleStatus(
	double angle,
	bool bStatus
)
Visual Basic
Public Sub SetSpecificFittingAngleStatus ( _
	angle As Double, _
	bStatus As Boolean _
)
Visual C++
public:
void SetSpecificFittingAngleStatus(
	double angle, 
	bool bStatus
)

Parameters

angle
Type: SystemDouble
The specific angle (in degree) that must be one of 60, 45, 30, 22.5 or 11.25 degrees.
bStatus
Type: SystemBoolean
Status, true - using the given angle during the pipe layout.

Exceptions

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

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 →