Width Property


The width of the connector.

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

Syntax

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

Implements

IConnectorWidth

Remarks

In order to set this property, it must be mapped to a writable instance parameter in the family definition.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException Thrown when the connector's shape is not rectangular.
Autodesk.Revit.ExceptionsArgumentException Thrown when the argument is invalid.
Autodesk.Revit.ExceptionsInvalidOperationException Thrown on failure to set width.

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 →