Create Method


Rebar Cover Type Create Method

Creates a new CoverType in the document.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static RebarCoverType Create(
	Document doc,
	string name,
	double coverDistance
)

Parameters

doc Document
name String
coverDistance Double

Return Value

RebarCoverType
Exceptions
Exception Condition
ArgumentException name is an empty string.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException coverDistance cannot be negative.
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 →