GH_Convert.ToSafeRhinoCommonObject Method

GH_ConvertToSafeRhinoCommonObject Method

Convert RhinoCommon types that are dangerous to use out of context (BrepFace, BrepEdge, etc.) into safe types (Brep, Curve, etc.).

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static Object ToSafeRhinoCommonObject(
	Object data
)
Public Shared Function ToSafeRhinoCommonObject ( 
	data As Object
) As Object

Parameters

data
Type: SystemObject
Data to convert.

Return Value

Type: Object
Safe data.
See Also