Model > Select

Forward

Restores the next selection after going Back.

Tab and panelModel > Select
KindButton
ShortcutAlt+Right
Live whenA model is open

Status

Untested Never executed inside Navisworks. Passed the headless checks only.

The public ask

No public source is on record for this tool.

Installs with

Forward sits in a stack, so installing it also installs:

Events it listens to

It needs these Navisworks event hooks, so installing it also copies the shared hooks folder:

  • selection-changed

Files

Paths are relative to the Playground.extension folder.

  • Model.tab/Select.panel/History.stack/Forward.pushbutton/bundle.yaml
  • Model.tab/Select.panel/History.stack/Forward.pushbutton/icon.dark.png
  • Model.tab/Select.panel/History.stack/Forward.pushbutton/icon.png
  • Model.tab/Select.panel/History.stack/Forward.pushbutton/icon.small.dark.png
  • Model.tab/Select.panel/History.stack/Forward.pushbutton/icon.small.png
  • Model.tab/Select.panel/History.stack/Forward.pushbutton/script.py

Install

  1. Only this tool. In Navisworks, click pyNavis > Playground, search for Forward, tick it and click Install.
  2. The whole extension. Download Playground.extension.zip, unzip it, put the Playground.extension folder in %APPDATA%\pyNavis\extensions\, and click pyNavis > Reload. Forward is on the Model tab, Select panel.

You need pyNavis 1.3.0 or later.

Tried it? Tell us whether it worked or not. That report is what moves a tool up the status ladder.

Report

Source

The tool's own files, word for word as published in pynavis/Playground. Paths are relative to the Playground.extension folder.

script.py

The script that runs on a click.

Model.tab/Select.panel/History.stack/Forward.pushbutton/script.py View on GitHub
# -*- coding: utf-8 -*-
"""Restores the next selection after going Back."""
from pynavis import toast

from namo import sel_history

level, message, detail = sel_history.go(1)
toast.show(level, message, detail)

Library modules this tool uses

From the shared namo library, which installs with every tool. Each name opens the module on GitHub.

  • namo.sel_historySelection History: every selection recorded per document, Back / Forward / History.

bundle.yaml

The bundle contract: the keys pyNavis reads for this tool.

Model.tab/Select.panel/History.stack/Forward.pushbutton/bundle.yaml View on GitHub
title: Forward
tooltip: Restores the next selection after going Back.
shortcut: Alt+Right
context: doc