Form.Rehost(Reference, XYZ) Method

Rehost Form to edge, face or curve.


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

Syntax

C#

public void Rehost(
	Reference hostRef,
	XYZ location
)

Parameters

hostRef  Reference
The geometry reference on which to rehost the form.
location  XYZ
The location to which to Rehost the form.

Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when the hostRef or location is null.
InvalidOperationExceptionThrown when rehosting Form failed.

See Also

Reference

Form Class
Rehost Overload
Autodesk.Revit.DB Namespace