Form.Rehost(SketchPlane, XYZ) Method

FormRehost(SketchPlane, XYZ) Method

Rehost Form to sketch plane

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void Rehost(
	SketchPlane sketchPlane,
	XYZ location
)
Public Sub Rehost ( 
	sketchPlane As SketchPlane,
	location As XYZ
)
public:
void Rehost(
	SketchPlane^ sketchPlane, 
	XYZ^ location
)
member Rehost : 
        sketchPlane : SketchPlane * 
        location : XYZ -> unit 

Parameters

sketchPlane  SketchPlane
The sketch plane on which to rehost the form.
location  XYZ
The location to which to Rehost the form.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the sketchPlane or location is .
InvalidOperationExceptionThrown when rehosting Form failed.
See Also