Views > Navigate
Sheet Overlay
Draws a DXF plan over the model at a level, placed by offset and rotation or by two reference points, with its texts as labels. Once placed, one click shows it again; Shift+Click places another.
Status
Launched Ran inside Navisworks at least once with no error logged; nobody checked the result yet.
The public ask
No public source is on record for this tool.
Installs with
Sheet Overlay 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/Sheet_Overlay.pushbutton/bundle.yamlViews.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/config.pyViews.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/icon.dark.pngViews.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/icon.pngViews.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/icon.small.dark.pngViews.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/icon.small.pngViews.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/script.py
Install
- Only this tool. In Navisworks, click pyNavis > Playground, search for Sheet Overlay, 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. Sheet Overlay 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/Sheet_Overlay.pushbutton/script.py View on GitHub"""Draws a DXF sheet over the model at a level; once placed, one click shows it again."""
import os
from namo import sheetoverlay, vp_common
from pynavis import toast
document = vp_common.active_doc()
if not vp_common.has_models(document):
toast.info('No model open', 'Open or append a model, then run Sheet Overlay again.')
else:
placed = sheetoverlay.saved(document)
if placed is not None and os.path.isfile(str(placed['file'])):
outcome = sheetoverlay.show(document, placed)
else:
outcome = sheetoverlay.setup(document, placed)
if outcome is not None:
toast.show(outcome[0], outcome[1], outcome[2])
config.py
The Shift+Click action.
Views.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/config.py View on GitHub"""Places a DXF sheet: file, layers, elevation and position, by offset and rotation or by two points."""
from namo import sheetoverlay, vp_common
from pynavis import toast
document = vp_common.active_doc()
if not vp_common.has_models(document):
toast.info('No model open', 'Open or append a model first.')
else:
outcome = sheetoverlay.setup(document, sheetoverlay.saved(document))
if outcome is not None:
toast.show(outcome[0], outcome[1], outcome[2])
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.namo.vp_commonShared helpers for the Views tools (Viewpoints, Capture and Navigate panels).
bundle.yaml
The bundle contract: the keys pyNavis reads for this tool.
Views.tab/Navigate.panel/Sheet.stack/Sheet_Overlay.pushbutton/bundle.yaml View on GitHubtitle: Sheet Overlay
tooltip: Draws a DXF plan over the model at a level, placed by offset and rotation or by two reference points, with its texts as labels. Once placed, one click shows it again; Shift+Click places another.
context: doc