Model > Inspect
Properties Plus
A window that follows the selection: pinned properties compared across every selected item (one value, or how many differ), and all of the first item's properties. Copy a value or select every item in the model that shares it.
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
None. It runs only when you click it.
Files
Paths are relative to the Playground.extension folder.
Model.tab/Inspect.panel/Properties_Plus.pushbutton/bundle.yamlModel.tab/Inspect.panel/Properties_Plus.pushbutton/icon.dark.pngModel.tab/Inspect.panel/Properties_Plus.pushbutton/icon.pngModel.tab/Inspect.panel/Properties_Plus.pushbutton/icon.small.dark.pngModel.tab/Inspect.panel/Properties_Plus.pushbutton/icon.small.pngModel.tab/Inspect.panel/Properties_Plus.pushbutton/script.py
Install
- Only this tool. In Navisworks, click pyNavis > Playground, search for Properties Plus, 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. Properties Plus is on the Model tab, Inspect 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.
Model.tab/Inspect.panel/Properties_Plus.pushbutton/script.py View on GitHub# -*- coding: utf-8 -*-
"""Opens Properties Plus, a window that follows the selection and compares pinned properties across it."""
from pynavis import script, toast
from namo import data_common, insp_propsplus, ui
def run():
if ui.is_runner():
toast.info('Properties Plus needs the Navisworks window', 'It cannot open under pynavis run.')
return
doc = data_common.active_doc()
if not data_common.has_models(doc):
data_common.no_model_toast()
return
insp_propsplus.show(script.bind(), ui.pinned_logger())
run()
Library modules this tool uses
From the shared namo library, which installs with every tool. Each name opens the module on GitHub.
namo.data_commonShared plumbing for the Inspect and Data panel tools: progress stages, where files go by default, the scope dialog fields, and the small checks every button starts with.namo.insp_propsplusProperties Plus: a modeless window that follows the selection live.namo.uiWPF building blocks for Playground tools, themed from the pyNavis design system.
bundle.yaml
The bundle contract: the keys pyNavis reads for this tool.
Model.tab/Inspect.panel/Properties_Plus.pushbutton/bundle.yaml View on GitHubtitle: Properties\nPlus
tooltip: A window that follows the selection: pinned properties compared across every selected item (one value, or how many differ), and all of the first item's properties. Copy a value or select every item in the model that shares it.
context: doc