Revit 2026 API
ConnectorWidth Property |
The width of the connector.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual double Width { get; set; }
Public Overridable Property Width As Double Get Set
public: virtual property double Width { double get (); void set (double value); }
abstract Width : float with get, set override Width : float with get, set
Property Value
DoubleImplements
IConnectorWidth
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the connector's shape is not rectangular. |
ArgumentException | Thrown when the argument is invalid. |
InvalidOperationException | Thrown on failure to set width. |

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