M_Rhino_Geometry_Brep_AddSurface - mcneel/rhinocommon-api-docs GitHub Wiki
Adds a 3D surface used by BrepFace.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int AddSurface(
Surface surface
)
VB
Public Function AddSurface (
surface As Surface
) As Integer
- surface
- Type: Rhino.Geometry.Surface
A copy of the surface is added to this brep.
Type: Int32
Index that should be used to reference the geometry.
-1 is returned if the input is not acceptable.
Supported in: 6.0.16224.21491, 5D58w