Grasshopper API
GH_ConvertToGHBox_Primary Method |
Converts similar data into a GH_Box instance.
Data is not quaranteed to be duplicated.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToGHBox_Primary( Object data, ref GH_Box target )
Public Shared Function ToGHBox_Primary ( data As Object, ByRef target As GH_Box ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - target
- Type: Grasshopper.Kernel.TypesGH_Box
Target instance. If null, a new GH_Box will be constructed. If not null, the instance values will be set.
Return Value
Type: BooleanTrue on success, False on failure.
