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

Form.Rehost(SketchPlane, XYZ)

Method
Description:
Rehost Form to sketch plane
Syntax
public void Rehost(
	SketchPlane sketchPlane,
	XYZ location
)
Parameters
Parameter Type Description
sketchPlane SketchPlane The sketch plane 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 sketchPlane or location is.
InvalidOperationException Thrown when rehosting Form failed.