ElectricalSetting.RemoveDistributionSysType Method

ElectricalSettingRemoveDistributionSysType Method

Remove an existing distribution system type from the project.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void RemoveDistributionSysType(
	DistributionSysType distributionSysType
)
Public Sub RemoveDistributionSysType ( 
	distributionSysType As DistributionSysType
)
public:
void RemoveDistributionSysType(
	DistributionSysType^ distributionSysType
)
member RemoveDistributionSysType : 
        distributionSysType : DistributionSysType -> unit 

Parameters

distributionSysType  DistributionSysType
 
Exceptions
ExceptionCondition
InvalidOperationException Distribution system type can be removed only if it is not currently assigned to any devices, otherwise an exception will be thrown.
See Also