RebarCoverTypeCreate Method

Creates a new CoverType in the document.

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

Parameters

doc  Document
 
name  String
 
coverDistance  Double
 

Return Value

RebarCoverType
Exceptions
ExceptionCondition
ArgumentException name is an empty string.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException coverDistance cannot be negative.
See Also