Rehost Form to sketch plane
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void Rehost( SketchPlane sketchPlane, XYZ location )
Parameters
- sketchPlane SketchPlane
- The sketch plane on which to rehost the form.
- location XYZ
- The location to which to Rehost the form.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the sketchPlane or location is nullptr. |
InvalidOperationException | Thrown when rehosting Form failed. |