Selection panel
Intersect
Keep only the items that are both in memory and selected right now.
On the ribbonStacked button, Selection panel
NeedsA selection
What it does#
Two searches reduced to what they agree on: one stored in memory, one live in the selection. What survives is the overlap.
How to use it#
- Run a search, say everything on Level 3, and Remember it.
- Run another, say every item with Fire Rating set, and select it.
- Click Intersect. The memory is now the fire-rated items on Level 3. Recall to select them.
Limitations#
- Intersect with an empty selection empties the memory, because nothing is in both. The toast says so.
Other uses#
- Any two Find Items searches that Navisworks cannot combine in one query.
Source#
The tool's own files, word for word as shipped in Selection.panel/Set.stack/Intersect.pushbutton. Every pyNavis tool is an ordinary bundle: copy these into your own extension and change what you like.
script.py Runs on a click. View on GitHub"""Keeps only the items that are in memory and selected right now."""
from pynavis import memory, toast
result = memory.intersect()
toast.show(result.level, result.message, result.detail)