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

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