Origin Property


The location 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 XYZ Origin { get; set; }
Visual Basic
Public Overridable Property Origin As XYZ
	Get
	Set
Visual C++
public:
virtual property XYZ^ Origin {
	XYZ^ get ();
	void set (XYZ^ value);
}

Implements

IConnectorOrigin

Remarks

Changing the location of the connector may lead to changes of location and geometry for the connector's host element and the hosts for other elements the element is connected to.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException Thrown when connector's type is NonEndConn. Thrown when the connector is a part of a family instance.
Autodesk.Revit.ExceptionsArgumentException Thrown when the assigned origin is invalid.
Autodesk.Revit.ExceptionsInvalidOperationException Thrown on failure to set origin.

See Also