2026 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 Inherited From
M Dispose() None Releases all resources used by the Surface
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetBoundingBoxUV() BoundingBoxUV Gets the UV bounding box of the surface.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
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.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean 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.