Revit 2026 API
Electrical |
Note: This API is now obsolete.
The WireSize as a String of the Electrical System
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
[ObsoleteAttribute("This property is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use CableSize instead. CableSize will be set on ElectricalSystem properly during document upgrade.")] public string WireSizeString { get; }
<ObsoleteAttribute("This property is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use CableSize instead. CableSize will be set on ElectricalSystem properly during document upgrade.")> Public ReadOnly Property WireSizeString As String Get
public: [ObsoleteAttribute(L"This property is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use CableSize instead. CableSize will be set on ElectricalSystem properly during document upgrade.")] property String^ WireSizeString { String^ get (); }
[<ObsoleteAttribute("This property is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use CableSize instead. CableSize will be set on ElectricalSystem properly during document upgrade.")>] member WireSizeString : string with get
Property Value
String
Exception | Condition |
---|---|
InvalidOperationException | This property only available when System Type is Power! |

This property is used to retrieve the WireSize String of the Electrical System.
See Also