IsValidDistributionSystem Method


Verifies that the Distribution System can be assigned to the Electrical Equipment.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2021

Syntax

C#
public bool IsValidDistributionSystem(
	DistributionSysType distributionSystem
)
Visual Basic
Public Function IsValidDistributionSystem ( _
	distributionSystem As DistributionSysType _
) As Boolean
Visual C++
public:
bool IsValidDistributionSystem(
	DistributionSysType^ distributionSystem
)

Parameters

distributionSystem
Type: Autodesk.Revit.DB.Electrical DistributionSysType
The Distribution System to be checked.

Return Value

True if the Distribution System can be assigned to the Electrical Equipment.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →