Revit 2025.3 API
Panel |
Add a Load Classification Id to the array of Load Classifications.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool AddLoadClassification( ElementId loadClassficationId )
Public Function AddLoadClassification ( loadClassficationId As ElementId ) As Boolean
public: bool AddLoadClassification( ElementId^ loadClassficationId )
member AddLoadClassification : loadClassficationId : ElementId -> bool
Parameters
- loadClassficationId ElementId
- The load classification to add
Return Value
BooleanTrue if success; false if the given Id has already existed.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also