ThermalAsset
Public Constructor
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
Constructs an instance of ThermalAsset.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ThermalAsset( string name, ThermalMaterialType materialType)Parameters
nameString
The name of the asset.
materialType ThermalMaterialType
The type of thermal material that this asset will describe.
Exceptions
Exception
Condition
ArgumentException
name is an empty string. -or- name cannot include prohibited characters, such as ”{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~”.
ArgumentNullException
A non-optional argument was null
ArgumentOutOfRangeException
A value passed for an enumeration argument is not a member of that enumeration