AddLoadClassification Method


Panel Schedule Data Add Load Classification Method

Add a Load Classification Id to the array of Load Classifications.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool AddLoadClassification(
	ElementId loadClassficationId
)

Parameters

loadClassficationId ElementId
The load classification to add

Return Value

Boolean
True if success; false if the given Id has already existed.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →