Creates a new instance of load classification and adds it to the document.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ElectricalLoadClassification Create(
Document ADoc,
string strName
)
Parameters
- ADoc Document
-
The document where the element will be created and added.
- strName String
-
The name of the electrical load classification to be created.
Return Value
ElectricalLoadClassification
The newly created load classification element.
Exceptions
See Also
Reference