WireDiameter Property


Determines the diameter of the wire.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2013

Syntax

C#
public double WireDiameter { get; set; }
Visual Basic
Public Property WireDiameter As Double
	Get
	Set
Visual C++
public:
property double WireDiameter {
	double get ();
	void set (double value);
}

Field Value

The value should be positive and less than 12 inches/300 mm.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException When setting this property: The given value for wireDiameter is not a number
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The wire diameter wireDiameter is negative or greater than 12 inches/300 mm.

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 →