SketchPlaneCreate(Document, Plane) Method |
Creates a new sketch plane from a geometric plane.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static SketchPlane Create(
Document document,
Plane plane
)
Public Shared Function Create (
document As Document,
plane As Plane
) As SketchPlane
public:
static SketchPlane^ Create(
Document^ document,
Plane^ plane
)
static member Create :
document : Document *
plane : Plane -> SketchPlane
Parameters
- document Document
-
The document.
- plane Plane
-
The geometry plane where the sketch plane will be created.
Return Value
SketchPlane
The newly created sketch plane.
Exceptions
Remarks
There will not be a reference relationship established from the sketch plane to the input face. To create a SketchPlane with a reference to other geometry,
use the overload with a Reference input.
See Also