NewPlane Method (XYZ, XYZ, XYZ)


Creates a new geometric plane object based on two coordinate vectors and an origin.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public Plane NewPlane(
	XYZ xVec,
	XYZ yVec,
	XYZ origin
)
Visual Basic
Public Function NewPlane ( _
	xVec As XYZ, _
	yVec As XYZ, _
	origin As XYZ _
) As Plane
Visual C++
public:
Plane^ NewPlane(
	XYZ^ xVec, 
	XYZ^ yVec, 
	XYZ^ origin
)

Parameters

xVec
Type: Autodesk.Revit.DB XYZ
X vector of the plane coordinate system.
yVec
Type: Autodesk.Revit.DB XYZ
Y vector of the plane coordinate system.
origin
Type: Autodesk.Revit.DB XYZ
Origin of the plane coordinate system.

Return Value

A new plane object.

See Also