ChangeSelectionResult

Type Alias ChangeSelectionResult

ChangeSelectionResult: {
    newSelectionCount: number;
    oldSelectionCount: number;
    selectedNodes: number[];
    targetNodeID: number;
}

Represents the result of a change selection operation.

This type contains information about the selection change, including the target node ID, the count of nodes in the selection before and after the change, and the list of currently selected nodes.

Type declaration

  • newSelectionCount: number

    The number of nodes that are selected after the change.

  • oldSelectionCount: number

    The number of nodes that were selected before the change.

  • selectedNodes: number[]

    An array containing the IDs of all currently selected nodes.

  • targetNodeID: number

    The ID of the node that was the target of the selection change. If value is -1, no node was targeted (for example SelectionAPI.clearSelection) or multiple nodes were effected.


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: