Skip to content

selection

6 functions / 8 types

Index

FunctionDescription
ClearClear all nodes from the selection.
PopNodePop the most recently selected node from the selection (the same node last_selected reads).
PushNodePush a node onto the selection, starting a new selection if none exists.
ReadRead the current selection, returning the non-empty selected nodes in slot order.
SetSelectionReplace the entire selection with a new ordered list of nodes.
SetSlotSet a specific selection slot by index.
TypeDescription
ClearClear all nodes from the selection.
PopNodePop the most recently selected node from the selection (the same node last_selected reads).
PopNodeResponse
PushNodePush a node onto the selection, starting a new selection if none exists.
ReadRead the current selection, returning the non-empty selected nodes in slot order.
ReadResponse
SetSelectionReplace the entire selection with a new ordered list of nodes.
SetSlotSet a specific selection slot by index.

Clear

RPC

Clear(request: selection.Clear) -> google.protobuf.Empty

Clear all nodes from the selection.

Service method: spatialengine.v1.selection.Selection.Clear.

Returns google.protobuf.Empty.

PopNode

RPC

PopNode(request: selection.PopNode) -> selection.PopNodeResponse

Pop the most recently selected node from the selection (the same node last_selected reads).

Service method: spatialengine.v1.selection.Selection.PopNode.

Returns selection.PopNodeResponse.

PushNode

RPC

PushNode(request: selection.PushNode) -> google.protobuf.Empty

Push a node onto the selection, starting a new selection if none exists.

Service method: spatialengine.v1.selection.Selection.PushNode.

Returns google.protobuf.Empty.

node : project.object.ProjectNode

The node to push.

Read

RPC

Read(request: selection.Read) -> selection.ReadResponse

Read the current selection, returning the non-empty selected nodes in slot order.

Service method: spatialengine.v1.selection.Selection.Read.

Returns selection.ReadResponse.

SetSelection

RPC

SetSelection(request: selection.SetSelection) -> google.protobuf.Empty

Replace the entire selection with a new ordered list of nodes.

Service method: spatialengine.v1.selection.Selection.SetSelection.

Returns google.protobuf.Empty.

nodes optional : list[project.object.ProjectNode]

The nodes to select, in slot order.

SetSlot

RPC

SetSlot(request: selection.SetSlot) -> google.protobuf.Empty

Set a specific selection slot by index.

A node fills the slot, and an absent node clears it. The selection grows with empty slots when index is beyond its current length.

Service method: spatialengine.v1.selection.Selection.SetSlot.

Returns google.protobuf.Empty.

index : uint64

Slot index to set.

node optional : project.object.ProjectNode

The node to place in the slot. An absent node clears the slot.

Clear

Message

Clear all nodes from the selection.

PopNode

Message

Pop the most recently selected node from the selection (the same node last_selected reads).

PopNodeResponse

Message

PushNode

Message

Push a node onto the selection, starting a new selection if none exists.

node : project.object.ProjectNode

The node to push.

Read

Message

Read the current selection, returning the non-empty selected nodes in slot order.

ReadResponse

Message

value optional : list[project.object.ProjectNode]

SetSelection

Message

Replace the entire selection with a new ordered list of nodes.

nodes optional : list[project.object.ProjectNode]

The nodes to select, in slot order.

SetSlot

Message

Set a specific selection slot by index.

A node fills the slot, and an absent node clears it. The selection grows with empty slots when index is beyond its current length.

index : uint64

Slot index to set.

node optional : project.object.ProjectNode

The node to place in the slot. An absent node clears the slot.