Height Property


The height of the connector.

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

Syntax

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

Implements

IConnector Height

Remarks

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

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException Thrown when the connector's shape is not rectangular.
Autodesk.Revit.Exceptions ArgumentException Thrown when the argument is invalid.
Autodesk.Revit.Exceptions InvalidOperationException Thrown on failure to set height.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →