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