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

Form.Rehost(Reference, XYZ)

Method
Description:
Rehost Form to edge, face or curve.
Syntax
public void Rehost(
	Reference hostRef,
	XYZ location
)
Parameters
Parameter Type Description
hostRef Reference The geometry reference on which to rehost the form.
location XYZ The location to which to Rehost the form.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when the hostRef or location is.
InvalidOperationException Thrown when rehosting Form failed.