RemoveTemperatureRatingType Method


Remove an existing temperature rating type from this material type.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public void RemoveTemperatureRatingType(
	TemperatureRatingType temperatureRating
)
Visual Basic
Public Sub RemoveTemperatureRatingType ( _
	temperatureRating As TemperatureRatingType _
)
Visual C++
public:
void RemoveTemperatureRatingType(
	TemperatureRatingType^ temperatureRating
)

Parameters

temperatureRating
Type: Autodesk.Revit.DB.Electrical TemperatureRatingType
The temperature rating type to be removed.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException The last temperature rating type of project and any one used by a wire type can't be removed.

See Also