Plane.CreateByNormalAndOrigin
Description:
Constructs a Plane object from a normal and an origin represented as XYZ objects. Follows the standard conventions for a planar surface. The constructed Plane object will pass through origin and be perpendicular to normal.
Constructs a Plane object from a normal and an origin represented as XYZ objects. Follows the standard conventions for a planar surface. The constructed Plane object will pass through origin and be perpendicular to normal.
Remarks:
This function does not guarantee a specific parameterization of the created Plane. Use Plane.Create(Frame) to enforce a specific parameterization of the created Plane object.
This function does not guarantee a specific parameterization of the created Plane. Use Plane.Create(Frame) to enforce a specific parameterization of the created Plane object.
-
normalPlane normal. Expected to be a valid non-zero length vector. Doesn't need to be a unit vector.
-
originPlane origin. Expected to lie within the Revit design limits IsWithinLengthLimits(XYZ).
-
The input point lies outside of Revit design limits.
-
A non-optional argument was null
-
normal has zero length.