You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Real-world NWD fails: "expanded tree exceeds 134217728 property references" — please make the limit configurable #288
Reading a real project model (federated master model, 614 MB NWD, saved in Navisworks 2027) with v0.17.0 CLI (net8.0) fails:
nwcio "model.nwd" "out.json" --no-meshes --no-materials --no-transforms --report
Error: File 'model.nwd' is not a valid Navisworks container: LcOpNwdLogicalHierarchy at byte 498085584: expanded tree exceeds 134217728 property references
The comment on HierarchyParser.MaxExpandedProperties says to raise it if a real model needs more — this is such a model. The parser got to ~498 MB of the 614 MB file before hitting the cap, so the 2027 format itself seems to parse.
Requests:
Raise the default caps (MaxExpandedProperties, possibly MaxExpandedNodes), and/or
Add a CLI option or environment variable (e.g. --max-property-refs, NWCIO_MAX_PROPERTY_REFS) so users with large models and enough RAM can opt in.
Environment: Windows 11, .NET Runtime 8.0.23, 128 GB RAM, NwcIO-Cli-0.17.0.zip.
I can't share the model (client project), but I'm happy to test a build.
Thanks for your interest in NwcIO and for reporting this. We reproduced the same error with a small synthetic NWD, so we didn’t need your project model. The fix is in #289.
Activity
mahach666 commentedon Nov 23, 2026
Thanks for your interest in NwcIO and for reporting this. We reproduced the same error with a small synthetic NWD, so we didn’t need your project model. The fix is in #289.