Navis Addins

What we need to create an addin with a toolbar and button is Navis

Folder structure

C:\ProgramData\Autodesk\ApplicationPlugins
│
└── name.bundle
    │
    ├── PackageContents.xml
    │
    └── Contents
        │
        └── 2026
            │
            ├── NavisworksTools.dll
            │
            ├── en-US
            │   └── name-Ribbon.xaml
            │
            └── Resources
                ├── icon1.png
                └── icon2.png

PackageContents.xaml

Loads the addins for the correct version of Navis

code ```xaml ```

name-Ribbon.xaml

  • Sort buttons in panels
    • Button ID to match ID in App.cs
code ```xaml ```

App.cs

  • Set the buttons display name
  • Points to the icons png files saved in the Resources folder
[Plugin("LOR-FBA", "fba-de", DisplayName = "APAM")]
[RibbonLayout("LOR-FBA-Ribbon.xaml")] // must match file in LOR-FBA.bundle\Contents\2026\en-US\
[RibbonTab("ID_LOR_FBA_TAB", DisplayName = "APAM")]
[Command("ID_ButtonDownload", DisplayName = "Download\nData", Icon = "Resources\\app-16.png", LargeIcon = "Resources\\app-32.png", ToolTip = "Donwload data from Comply and save it as json file in C:\\Temp folder")]
[Command("ID_ButtonAddTab", DisplayName = "Add Tab", Icon = "Resources\\document-16.png", LargeIcon = "Resources\\document-32.png", ToolTip = "Create a new tab for the selected items")]
[Command("ID_ButtonDumpData", DisplayName = "Write\nData", Icon = "Resources\\2_16.png", LargeIcon = "Resources\\2_32.png", ToolTip = "Read data from the downloaded json file and write it into the selected items")]
[Command("ID_ButtonRemoveTab", DisplayName = "Remove\nTab", Icon = "Resources\\delete_16.png", LargeIcon = "Resources\\delete_32.png", ToolTip = "Remove a tab from the selected items")]
[Command("ID_ButtonRemoveProperties", DisplayName = "Remove\nProperties", Icon = "Resources\\delete_16.png", LargeIcon = "Resources\\delete_32.png", ToolTip = "Remove selected properties from selected items")]
[Command("ID_ExportToCsv", DisplayName = "Export csv", Icon = "Resources\\5_32.png", LargeIcon = "Resources\\5_32.png", ToolTip = "Export selected proeprties to a .csv file")]
[Command("ID_ImportFromCsv", DisplayName = "Import csv", Icon = "Resources\\lab32x32.png", LargeIcon = "Resources\\lab32x32.png", ToolTip = "Import properties from .csv file")]
Written on October 2, 2026