Views > Navigate
Clear Sheet
Removes the DXF sheet overlay and its labels from the view.
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.yamlViews.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.dark.pngViews.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.pngViews.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.small.dark.pngViews.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/icon.small.pngViews.tab/Navigate.panel/Sheet.stack/Clear_Sheet.pushbutton/script.py
Install
- Only this tool. In Navisworks, click pyNavis > Playground, search for Clear Sheet, tick it and click Install.
- The whole extension. Download
Playground.extension.zip, unzip it, put thePlayground.extensionfolder 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.
ReportSource
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 GitHubtitle: Clear Sheet
tooltip: Removes the DXF sheet overlay and its labels from the view.