GH_ConvertToLeader_Primary Method |
Performs a direct cast from Rhino.Geometry.Leader or GH_Leader.
Data is not guaranteed to be duplicated.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool ToLeader_Primary(
Object data,
ref Leader rc
)
Public Shared Function ToLeader_Primary (
data As Object,
ByRef rc As Leader
) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - rc
- Type: Leader
Result of conversion
Return Value
Type:
BooleanA
Leader instance if successful, or Nothing on failure.
See Also