GH_ConvertToGHCentermark_Primary Method |
Converts similar data into a GH_Centermark instance.
Data is not guaranteed to be duplicated.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool ToGHCentermark_Primary(
Object data,
ref GH_Centermark target
)
Public Shared Function ToGHCentermark_Primary (
data As Object,
ByRef target As GH_Centermark
) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - target
- Type: Grasshopper.Kernel.TypesGH_Centermark
Target instance. If null, a new GH_Centermark will be constructed.
If not null, the instance values will be set.
Return Value
Type:
BooleanTrue on success, False on failure.
See Also