RVTDocs.com
Namespace: Autodesk.Revit.DB Class: BRepBuilder

BRepBuilder.IsPermittedSurfaceType

Method
Description:
A validator function that checks whether the surface object is of type supported as face surface by BRepBuilder.
Remarks:
The allowed surface types are ConicalSurface, CylindricalSurface, Plane, RevolvedSurface, RuledSurface, and HermiteSurface.
Syntax
public static bool IsPermittedSurfaceType(
	Surface surface
)
Parameters
Parameter Type Description
surface Surface Surface object intended to be used as a face surface.
Return Value
Type Description
Boolean True if a surface of this type may be used as a face surface, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null