Grasshopper API
GH_DocumentFindWireAt Method |
Find the wire at or near the given coordinate.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public bool FindWireAt( PointF point, float radius, ref IGH_Param source, ref IGH_Param target )
Public Function FindWireAt ( point As PointF, radius As Single, ByRef source As IGH_Param, ByRef target As IGH_Param ) As Boolean
Parameters
- point
- Type: System.DrawingPointF
Search locus. - radius
- Type: SystemSingle
Search radius. - source
- Type: Grasshopper.KernelIGH_Param
Source parameter of wire (if found). - target
- Type: Grasshopper.KernelIGH_Param
Target parameter of wire (if found).
Return Value
Type: BooleanTrue if a wire was found.
