IsCoverOffsetValid Method


Identifies if the specified value is valid for use as a cover offset.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2013

Syntax

C#
public bool IsCoverOffsetValid(
	double coverOffset
)
Visual Basic
Public Function IsCoverOffsetValid ( _
	coverOffset As Double _
) As Boolean
Visual C++
public:
bool IsCoverOffsetValid(
	double coverOffset
)

Parameters

coverOffset
Type: SystemDouble
The cover offset value.

Return Value

True if the value is valid, false if the value is invalid.

Remarks

The cover offset must be less than or equal to the host thickness.

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 →