SelectionResult
ReferencesList of all (de)selected objects and wires during a picking or selection operation.
Constructors
Properties
InletUnderPick
#Gets the Instance ID of the parameter whose inlet was underneath the pick location. If no inlet was picked this will return Guid.Empty.
ObjectUnderPick
#Gets the Instance ID of the object underneath the pick location. If no object was picked this will return Guid.Empty.
OutletUnderPick
#Gets the Instance ID of the parameter whose inlet was underneath the pick location. If no outlet was picked this will return Guid.Empty.
SelectedCount
#Gets the number of objects that were selected by this operation. This is not the same as the total number of selected objects.
Methods
Merge
#Merge the selected and deselected states of another result into this one.
Parameters:
| other (SelectionResult) |
SetPickedObject
#Set the object directly under the pick.
Parameters:
| obj (IDocumentObject) | |
| foreGroundObject (bool) |
UnsetIfNotOnGroupBorder
#public void UnsetIfNotOnGroupBorder()
If this selection result points to a GroupObject, but the picking point is not on the group dragging boundary, unset the result.