RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Connector

Connector.Origin

Property
Description:
The location of the connector.
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.
Syntax
public virtual XYZ Origin { get; set; }
Exceptions
Exception Condition
InvalidOperationException Thrown when connector's type is NonEndConn. Thrown when the connector is a part of a family instance.
ArgumentException Thrown when the assigned origin is invalid.
InvalidOperationException Thrown on failure to set origin.