Constructs a Plane object from X and Y axes and an origin represented as XYZ objects. The plane passes through "origin" and is spanned by the basis vectors "xVec" and "yVec".
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2016
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- xVec
- Type: Autodesk.Revit.DB XYZ
X axis of the resulting Plane object.
- yVec
- Type: Autodesk.Revit.DB XYZ
Y axis of the resulting Plane object.
- origin
- Type: Autodesk.Revit.DB XYZ
Origin of the resulting Plane object.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |