Revit 2023 API |
WireMaterialType..::..AddTemperatureRatingType Method |
WireMaterialType Class See Also |
Add a new temperature rating type into material type.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
C# |
---|
public TemperatureRatingType AddTemperatureRatingType( string name, TemperatureRatingType baseOn ) |
Visual Basic |
---|
Public Function AddTemperatureRatingType ( _ name As String, _ baseOn As TemperatureRatingType _ ) As TemperatureRatingType |
Visual C++ |
---|
public: TemperatureRatingType^ AddTemperatureRatingType( String^ name, TemperatureRatingType^ baseOn ) |
Parameters
- name
- Type: System..::..String
Name of temperature type to be added.
- baseOn
- Type: Autodesk.Revit.DB.Electrical..::..TemperatureRatingType
The new temperature rating will be created base on this existing temperature rating type.