2022 Class
Changes 2
C

Surface

Description:
A mathematical representation of a surface.
Remarks:
This geometric object is not bounded by edges or edge loops. A bounded surface obtained from a Revit element will be represented by a Face instead.
public class Surface : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetBoundingBoxUV() BoundingBoxUV Gets the UV bounding box of the surface.
M Project(XYZ, UV%, Double%) None Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails.
M ProjectWithGuessPoint(XYZ, UV, UV%, Double%) None Project a 3D point orthogonally onto a surface (to find the nearest point). This method is meant to be used when a good approximate solution for the projection is available. Throws InvalidOperationException if the projection fails.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P OrientationMatchesParametricOrientation bool Indicates whether this Surface's orientation is the same as or opposite to its parametric orientation.