AnalyticalTransformerData.SecondaryDistributionSystem Property

AnalyticalTransformerDataSecondaryDistributionSystem Property

The secondary distribution system of the analytical transformer.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementId SecondaryDistributionSystem { get; set; }
Public Property SecondaryDistributionSystem As ElementId
	Get
	Set
public:
property ElementId^ SecondaryDistributionSystem {
	ElementId^ get ();
	void set (ElementId^ value);
}
member SecondaryDistributionSystem : ElementId with get, set

Property Value

ElementId
Exceptions
ExceptionCondition
ArgumentException When setting this property: The id is neither a distribution system id nor InvalidElementId. -or- When setting this property: The secondary distribution system id can't be set to the analytical transformer.
ArgumentNullException When setting this property: A non-optional argument was null
Remarks
In the case of a transformer, it's crucial that the number of phases in the secondary distribution system matches that of the primary distribution system. If the number of phases in the secondary system is set to be different from that of the primary distribution system, it will result in a 'SecondaryNumOfPhasesNotEqualWithPrimary' error. If you anticipate this discrepancy, you can avoid the error by first setting the secondary distribution system to InvalidElementId, and then setting the primary distribution system.
See Also