Skip to content

Open NWC caches through NwcIO.Scene in ioviewer - #37

Merged
mahach666 merged 1 commit into
mainfrom
codex/ioviewer-nwc-scene
Nov 18, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/ioviewer-nwc-scene

Conversation

@mahach666

@mahach666 mahach666 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Use released NwcIO.Scene 0.13.0 from the CLI to open .nwc caches directly and report adapter diagnostics through the existing path.
  • Keep the viewer library dependent on IOScene alone. Keep the existing .scene.json route and output options.
  • Limit direct input to .nwc. The released adapter cannot build the partition tree for .nwd on the checked Navisworks document.

Verification

  • dotnet test IOViewer.slnx -c Release passed all 127 tests on each of .NET 8 and .NET 10 with a public Revit 2022 sample. New tests cover HTML and JSON export from a synthetic NWC and failure on malformed NWC.
  • dotnet pack IOViewer.slnx -c Release --no-build passed. The IOViewer package lists only IOScene as a dependency for both frameworks.
  • git diff --check passed.
  • On three local NWC models with placed geometry, the direct path exited with 0 and produced exactly the same HTML bytes as the existing NwcIO scene JSON route.

@mahach666
mahach666 merged commit e37b20a into main Nov 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant