AddWireSize Method


Add a new kind of wire size type into this temperature rating type.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public WireSize AddWireSize(
	string size,
	long ampacity,
	double diameter
)
Visual Basic
Public Function AddWireSize ( _
	size As String, _
	ampacity As Long, _
	diameter As Double _
) As WireSize
Visual C++
public:
WireSize^ AddWireSize(
	String^ size, 
	long long ampacity, 
	double diameter
)

Parameters

size
Type: System String
Size of wire size.
ampacity
Type: System Int64
Ampacity of wire size to be added.
diameter
Type: System Double
Diameter of wire size to be added.

Return Value

Constructed wire size type.

See Also