GH_DocumentSelect 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
)
Public Function Select (
obj_dat As GH_RelevantObjectData,
bAdd As Boolean,
bRemove As Boolean
) As GH_SelectionState
Parameters
- obj_dat
- Type: Grasshopper.KernelGH_RelevantObjectData
Information regarding the object to be selected. - bAdd
- Type: SystemBoolean
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: SystemBoolean
If True, it will remove the topmost selected object that contains pt from the selection set.
Return Value
Type:
GH_SelectionStateSee Also