GH_Convert.ToGHBrep Method

GH_ConvertToGHBrep Method

Convert data into GH_Breps.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToGHBrep(
	Object data,
	GH_Conversion conversion_level,
	ref GH_Brep target
)
Public Shared Function ToGHBrep ( 
	data As Object,
	conversion_level As GH_Conversion,
	ByRef target As GH_Brep
) As Boolean

Parameters

data
Type: SystemObject
Data to convert
conversion_level
Type: Grasshopper.KernelGH_Conversion
Level of conversion.
target
Type: Grasshopper.Kernel.TypesGH_Brep
Destination of conversion. If Null, a new instance will be created.

Return Value

Type: Boolean
See Also