Constructs an instance of ThermalAsset.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ThermalAsset(
string name,
ThermalMaterialType materialType
)
Parameters
- name String
-
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
|
See Also
Reference