selection
6 functions / 8 types
Index
| Function | Description |
|---|---|
| Clear | Clear all nodes from the selection. |
| PopNode | Pop the most recently selected node from the selection (the same node last_selected reads). |
| PushNode | Push a node onto the selection, starting a new selection if none exists. |
| Read | Read the current selection, returning the non-empty selected nodes in slot order. |
| SetSelection | Replace the entire selection with a new ordered list of nodes. |
| SetSlot | Set a specific selection slot by index. |
| Type | Description |
|---|---|
| Clear | Clear all nodes from the selection. |
| PopNode | Pop the most recently selected node from the selection (the same node last_selected reads). |
| PopNodeResponse | |
| PushNode | Push a node onto the selection, starting a new selection if none exists. |
| Read | Read the current selection, returning the non-empty selected nodes in slot order. |
| ReadResponse | |
| SetSelection | Replace the entire selection with a new ordered list of nodes. |
| SetSlot | Set a specific selection slot by index. |
Clear
RPC
Clear(request: selection.Clear) -> google.protobuf.EmptyClear all nodes from the selection.
Service method: spatialengine.v1.selection.Selection.Clear.
Returns google.protobuf.Empty.
PopNode
RPC
PopNode(request: selection.PopNode) -> selection.PopNodeResponsePop 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.EmptyPush 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.ReadResponseRead 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.EmptyReplace 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.EmptySet 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
value optional : project.object.ProjectNode
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.