Navisworks API: Introducing NwdExportOptions in Navisworks 2026

By Naveen Kumar

With the release of Navisworks 2026, new and improved NWD export options have been introduced. One of the key enhancements is the ability to create an NWD file that includes only the visible items in a model or only the visible models in a federated file. This reduces file size and ensures that shared models remain clear, focused, and relevant for the intended audience.

How to Export NWD

You can export an NWD file in two ways:

  • Output tabExport SceneExport NWD
  • ApplicationExportExport NWD

Export Options Explained

When exporting, Navisworks 2026 gives you the following configuration options:

  • Exclude hidden items

    • Checked: Removes hidden objects completely from the exported NWD on publish.
    • Unchecked: Hidden objects remain in the file but are displayed as hidden in the selection tree.
    • Useful when you want to share a clean, simplified view.
  • Embed ReCap and texture data

    • Checked: Embeds externally referenced files, including textures and ReCap scans, directly into the NWD on publish.
    • Enables password protection for referenced files.
    • Any textures applied to the published file are saved in a folder with the same name as the Published file.
    • You can control ReCap file embedding via the Options Editor (File Readers → ReCap page).
  • Prevent object property export

    • Checked: Excludes object properties that come from native CAD packages in the published file.
    • Protects intellectual property and ensures sensitive design details are not shared.
  • Navisworks Version

    • Allows you to select the file format version you want to save in (e.g., Navisworks 2026).

Automating with the API

You can also automate the export process using the Navisworks API. You can use either TryExportToNwd() or ExportToNwd().

Here’s a C# example:

Document document = Autodesk.Navisworks.Api.Application.ActiveDocument;
NwdExportOptions options = new NwdExportOptions
{
    ExcludeHiddenItems = true,
    PreventObjectPropertyExport = true,
    FileVersion = (int)DocumentFileVersion.Navisworks2026,
    EmbedXrefs = true
};
document.TryExportToNwd(@"C:\Exports\ProjectOutput.nwd", options);

Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading