Grasshopper API
GH_DocumentFindAttribute Method (PointF, Boolean) |
Search for attributes that contain a certain point. The attribute balloon boxes
are also taken into account.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public IGH_Attributes FindAttribute( PointF pt, bool topLevelOnly )
Public Function FindAttribute ( pt As PointF, topLevelOnly As Boolean ) As IGH_Attributes
Parameters
- pt
- Type: System.DrawingPointF
The point in Canvas coordinates - topLevelOnly
- Type: SystemBoolean
If true, child attributes will be skipped.
Return Value
Type: IGH_Attributes