Model > Look

Exit Presentation

Leaves Presentation Mode and puts the ribbon, panels, window size and background back from anywhere.

Tab and panelModel > Look
KindNo ribbon button; run it by its shortcut
ShortcutCtrl+Alt+F11

Status

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

The public ask

No public source is on record for this tool.

Events it listens to

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

  • app-closing

Files

Paths are relative to the Playground.extension folder.

  • Model.tab/Look.panel/Exit_Presentation.nobutton/bundle.yaml
  • Model.tab/Look.panel/Exit_Presentation.nobutton/icon.dark.png
  • Model.tab/Look.panel/Exit_Presentation.nobutton/icon.png
  • Model.tab/Look.panel/Exit_Presentation.nobutton/icon.small.dark.png
  • Model.tab/Look.panel/Exit_Presentation.nobutton/icon.small.png
  • Model.tab/Look.panel/Exit_Presentation.nobutton/script.py

Install

  1. Only this tool. In Navisworks, click pyNavis > Playground, search for Exit Presentation, 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. Exit Presentation is on the Model tab, Look 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/Look.panel/Exit_Presentation.nobutton/script.py View on GitHub
"""Leaves Presentation Mode from anywhere and puts the ribbon, panels, window and background back."""
from namo import presentation
from pynavis import toast

if presentation.is_on():
    restored, problems = presentation.leave()
    level, message, detail = presentation.exit_message(restored, problems)
    toast.show(level, message, detail)
else:
    toast.info('Presentation mode is not on', 'Nothing to put back.')

Library modules this tool uses

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

  • namo.presentationPresentation Mode: a clean screen for a meeting, put back exactly afterwards.

bundle.yaml

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

Model.tab/Look.panel/Exit_Presentation.nobutton/bundle.yaml View on GitHub
title: Exit Presentation
tooltip: Leaves Presentation Mode and puts the ribbon, panels, window size and background back from anywhere.
shortcut: Ctrl+Alt+F11