RhinoCommon API
InteropFromOnSurface Method |
Copies a Rhino_DotNet surface to a RhinoCommon Surface class.
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Surface FromOnSurface( Object source )
Public Shared Function FromOnSurface ( source As Object ) As Surface
Parameters
- source
- Type: SystemObject
Any of the following in the RMA.OpenNURBS namespace are acceptable. IOnSurface, OnSurface, IOnPlaneSurface, OnPlaneSurface, IOnClippingPlaneSurface, OnClippingPlaneSurface, IOnNurbsSurface, OnNurbsSurfac, IOnRevSurface, OnRevSurface, IOnSumSurface, OnSumSurface.
Return Value
Type: SurfaceRhinoCommon object on success. This will be an independent copy.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14