GetCommonCoverType Method


If all exposed faces of the host have the same associated CoverType, return that CoverType; otherwise, return a null reference (Nothing in Visual Basic).

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

Syntax

C#
public RebarCoverType GetCommonCoverType()
Visual Basic
Public Function GetCommonCoverType As RebarCoverType
Visual C++
public:
RebarCoverType^ GetCommonCoverType()

Return Value

The common CoverType for all exposed faces, or a null reference (Nothing in Visual Basic) if there are multiple CoverTypes.

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 →