Click or drag to resize

GH_Document.Select Method (GH_RelevantObjectData, Boolean, Boolean)

Default pick selection behaviour

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public GH_SelectionState Select(
	GH_RelevantObjectData obj_dat,
	bool bAdd,
	bool bRemove
)

Parameters

obj_dat
Type: Grasshopper.Kernel.GH_RelevantObjectData
Information regarding the object to be selected.
bAdd
Type: System.Boolean
If True, it will add the topmost unselected object that contains pt to the selection set. If False, the selection set will be cleared when an unselected object is picked
bRemove
Type: System.Boolean
If True, it will remove the topmost selected object that contains pt from the selection set.

Return Value

Type: GH_SelectionState
See Also