The surface class represents the mathematical representation of a surface.
The surface class is not derived from the GeometryObject class and not bounded by edges or edge loops. A bounded surface in Revit is represented by the Face class.
Surface is the base class for more specific surfaces:
These subclasses contain Create() methods and read-only properties and are suitable for constructing import geometry. See the DirectShape topic for examples of using Surfaces in geometry creation.