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

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 →