Guide / Chapter 19

Shortcuts

PVA’s key bindings cannot be rebound. Ctrl stands for the Command key on macOS and the Control key on Linux; where a platform has its own standard key for a command (Undo, Save, Preferences), the tables show both forms. Menu entries show their chord beside the label (see 1AU View), and the Settings window’s Shortcuts page shows the same list (see Settings).

The Settings window on the Shortcuts page, Canvas tab
The Settings window on the Shortcuts page, Canvas tab

Unless noted, a chord works with the keyboard focus anywhere in the main window, including the many that have no menu entry. Text fields keep their own Delete, Backspace and word-jump keys, so Delete Selection and the nudge chords act only when the canvas has the focus. Delete removes just the selected nodes, with no confirmation. Copy is CtrlD, not the platform’s Copy key. Bare digits 1 to 9 recall saved camera views while a 3-D viewport has the focus, and they take precedence over macros.

Edit

CommandShortcut
Undo⌘Z / Ctrl+Z
Redo⇧⌘Z / Ctrl+Shift+Z

Session

CommandShortcut
New Session⌘N / Ctrl+N
Save Session⌘S / Ctrl+S
Save Session As…⇧⌘S / Ctrl+Shift+S
Open Session…⌘O / Ctrl+O
Settings…⌘, / Ctrl+, / Ctrl,
Save as Template…CtrlAltS
Reload SessionCtrlAltR

Graph

Commands that act on the selected nodes and on evaluation. Deep Copy creates a Snapshot node holding a captured copy of the payload (see Copying).

CommandShortcut
Delete Selection⌫ / Delete / Backspace
Evaluate SelectionCtrlReturn / CtrlEnter
Run GraphCtrlShiftReturn / CtrlShiftEnter
Toggle Auto ExecutionCtrlE
GroupCtrlG
UngroupCtrlShiftG
Send BackwardCtrl[
Send ForwardCtrl]
Send to BackCtrlShift[
Send to FrontCtrlShift]
Nudge LeftCtrlLeft
Nudge RightCtrlRight
Nudge UpCtrlUp
Nudge DownCtrlDown
Nudge Left ×10CtrlShiftLeft
Nudge Right ×10CtrlShiftRight
Nudge Up ×10CtrlShiftUp
Nudge Down ×10CtrlShiftDown
Selected Port LeftAltLeft
Selected Port RightAltRight
Selected Port TopAltUp
Selected Port BottomAltDown
CopyCtrlD
Deep CopyCtrlShiftD
Select AllCtrlA
Optimize LayoutCtrlShiftL
Save Group…CtrlAltG

Canvas

View commands and the Quick Add and Connect menus. While the Quick Add palette is open, CtrlD adds the highlighted row to favorites or removes it (see Favorites).

CommandShortcut
Quick Add PaletteCtrlK
Connect MenuCtrlShiftK
Reset Canvas ViewCtrlShiftH
Zoom InCtrl=
Zoom OutCtrl-
Fit Canvas to GraphCtrlShift-
Fit Canvas to SelectionCtrlShift=
Larger UI FontCtrlAlt=
Smaller UI FontCtrlAlt-
InputAction
Ctrl+D (palette open)Toggle favorite on the highlighted palette row

Nodes

NodeShortcut
Add MAS FileCtrlR
Add Custom 3D FileCtrlShiftR
Add TracerCtrlT
Add SliceCtrlL
Add PlotCtrlP
Add CameraCtrlShiftC
Add NumberCtrlShiftN
Add Trace DomainCtrlF
Add ReadCtrlShiftO

Export

CommandShortcut
ScreenshotCtrlShiftP
Screenshot As…CtrlAltShiftP
Animate…CtrlShiftA

Macros

CommandShortcut
Macro ModeCtrlM
Edit Macros…CtrlShiftM

While Macro Mode is on and a 3-D viewport has the focus, recorded macros act on node parameters. Every chord above, every binding in the 3-D viewport table, Ctrl+digit, the bare digits 1 to 9 and a bare wheel notch are reserved (see Reserved gestures).

InputAction
Macros ▸ Edit Macros…Session macros (viewport focus, Macro Mode on)

Help

CommandShortcut
PyVisual Help⌘? / F1

Mouse and trackpad

InputAction
Right-clickPick a port/edge, or open a context menu
⌘+1 … ⌘+9 + right-clickChorded pick (a Plotter's event ports)
Two-finger scrollPan the canvas (⌘+scroll zooms instead)
PinchZoom the canvas about the cursor
Scroll wheelZoom the canvas
Middle-dragPan the canvas
Double-click a titleRename it inline
Return / EscapeCommit / cancel an inline edit
Drag from a portConnect to a compatible port
⌥ + right-dragCut every connector the line crosses
Drag a link segmentShift an angled connector
Double-click a linkAdd or remove a break point
Right-click a linkDisconnect / Reset path

A trackpad scroll pans the canvas and Ctrl (Cmd) + scroll zooms; the Trackpad scroll pans style setting swaps them (see Panning and zooming). Scrolling over a spin box, combo box or slider changes its value only while Ctrl (Cmd on macOS) is held.

3-D viewport

The pyvista bindings come from the plotting library; the picking, chord and recall entries belong to PVA. VTK’s single-letter bindings are disabled in every viewport (see Suppressed VTK keys), so those letters are free for macros, except q and Shift+C.

KeyAction
QClose the viewport (pyvista quit)
Shift+CEnable cell picking (pyvista)
BEnable left-click point picking (pyvista)
VIsometric view (pyvista)
UpZoom in (pyvista)
DownZoom out (pyvista)
+Increase point size / line width (pyvista)
-Decrease point size / line width (pyvista)
Wheel UpZoom in (mouse wheel / trackpad): dolly, or view angle when the Camera tab's switch is on
Wheel DownZoom out (mouse wheel / trackpad): dolly, or view angle when the Camera tab's switch is on
Left-dragRotate the camera
Shift+Left-dragPan the camera
Ctrl+Left-dragSpin the camera (when no picker is armed)
Middle-dragPan the camera
Right-dragZoom the camera
Right-clickPick (this app's own gesture, when armed)
Ctrl+Left-clickPick (when a picker is armed)
⌘+1 … ⌘+9 + right-clickChorded pick (a Plotter's event ports)
1 … 9Recall saved camera view 1-9 (Camera tab)