pyNavis authoring guide
Build tools for Navisworks
Everything you need to turn a folder and a Python file into a button on the Navisworks ribbon. No compiler, no Visual Studio, no restart.
Read Your first button first. It gets a working tool on the ribbon in about five minutes, and every other page assumes you have done it.
pyNavis loads extensions from disk at startup. An extension is a folder
tree whose folder names describe the ribbon: a .tab becomes a ribbon tab, a
.panel becomes a panel on it, and a .pushbutton becomes a button
that runs the script.py inside it. There is no manifest to register, no project
to compile, and no build step. Create the folders, drop in a script, press
Reload.
These pages document the authoring surface exhaustively: every folder suffix the runtime
recognises, every key it reads out of bundle.yaml, every global it injects into
your script, and every function in the pynavis library. Where the runtime has a
sharp edge, it is called out rather than glossed over.