Views > Navigate

Clear Sheet

Removes the DXF sheet overlay and its labels from the view.

Tab and panelViews > Navigate
KindButton

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

Clear Sheet sits in a stack, so installing it also installs:

Events it listens to

None. It runs only when you click it.

Files

Paths are relative to the Playground.extension folder.

  • Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/bundle.yaml
  • Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.dark.png
  • Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.png
  • Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.small.dark.png
  • Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.small.png
  • Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/script.py

Install

  1. Only this tool. In Navisworks, click pyNavis > Playground, search for Clear Sheet, 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. Clear Sheet is on the Views tab, Navigate 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.

Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/script.py View on GitHub
"""Removes the DXF sheet overlay and its labels from the view."""
from namo import sheetoverlay
from pynavis import toast

if sheetoverlay.clear():
    toast.success('Sheet removed', 'Sheet Overlay shows it again.')
else:
    toast.info('No sheet on the view', 'Sheet Overlay draws one.')

Library modules this tool uses

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

  • namo.sheetoverlaySheet Overlay: a 2D CAD sheet (DXF, read by namo.dxf) drawn over the model at one elevation with pynavis.overlay.

bundle.yaml

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

Views.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/bundle.yaml View on GitHub
title: Clear Sheet
tooltip: Removes the DXF sheet overlay and its labels from the view.