RVTDocs.com

ConnectorElement.ChangeHostReference(Reference)

Method
Description:
Changes the connector host reference to a new planar face.
Remarks:
The connector referenced by a planar face alone is placed at the plane origin, and may be moved later along the planar face.
Syntax
public void ChangeHostReference(
	Reference planarFace
)
Parameters
Parameter Type Description
planarFace Reference The planar face to place the connector on.
Return Value
Exceptions
Exception Condition
ArgumentException The face is not a planar face.
ArgumentNullException A non-optional argument was null