GH_ConvertToMatrix_Primary Method |
Performs a direct cast from Matrix or GH_Matrix.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool ToMatrix_Primary(
Object data,
ref Matrix rc
)
Public Shared Function ToMatrix_Primary (
data As Object,
ByRef rc As Matrix
) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - rc
- Type: Matrix
[out] Matrix cast.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also