RVTDocs.com

ConnectorElement.ChangeHostReference(Reference, Edge)

Method
Description:
Changes the connector host reference to a new planar face and a new edge loop.
Remarks:
The connector referenced by an edge loop has the fixed origin as defined by the edge loop.
Syntax
public void ChangeHostReference(
	Reference planarFace,
	Edge edge
)
Parameters
Parameter Type Description
planarFace Reference The planar face to place the connector on.
edge Edge One of the edges in the edge loop that defines the new connector location on the planar face.
Return Value
Exceptions
Exception Condition
ArgumentException The face is not a planar face. -or- The edge is not on the planar face.
ArgumentNullException A non-optional argument was null