Repository navigation
Conversation
…r saved parameters (RE-510) Five things stopped the native reader before Revit 2015: - a schema of 2008 to 2013 has no GUID list after a class's fields; - the element table writes its IdentifierSource after a shared-object token, not u32::MAX, on 2008 to 2014; - an Element of 2008 to 2013 has up to five fields 2014 dropped; - 2008 to 2011 have no extensible storage; - Revit 2011 writes its partition segments with no class tag. With them read, every record group of nine local files of 2011 to 2014 frames as on 2015 to 2017, 98.7 to 99.4 per cent of the graphs decode and the Element base decodes on every record. FRAMED_RELEASES (2011 to 2027) is what frames; NATIVE_RELEASES stays the readers' measured default, and only saved parameters widen. On Autodesk's 2013 rac_advanced every one of the 59,683 values rvt-elements reads that its 2015 save holds is equal. The default IFC export is unchanged. Revit 2008 to 2010 partitions are one gzip member with no record channels and stay unread.
|
@puzzbobb, thank you. |
|
@puzzbobb, the Measure run on a merge of Next, ours: the code read, then a Measure run on the head once |
|
@puzzbobb, the code read of the changes to the eight source files. Three things to change, and three docs asks. What holds up: To change:
Docs asks, which can ride the push with the merge of
Next, yours: those and the merge of |
Summary
RE-510. The native record reader, and with it saved parameters, now works on Revit 2011 to 2014 files. Before, it stopped at 2015.
Five things stopped it, each now read:
schema_registry::parsetries with the lists, then without (asformats::schema_classesalready does, RE-259).IdentifierSourcefollows a shared-object token (2 on the 2014 file), notu32::MAX.native_index::parsenow refuses only a null token.m_famParamDrivenData; 2008 to 2010 add three helper pointers andm_groupMemberships.decode_basechecks the 20 fields of 2014 on by name and order, allows these five besides, and reads such an Element through the graph decoder.ESSchemaStorage, so the catalogue is empty.native_segments::walk_selectedreads that layout.native_document::FRAMED_RELEASES(2011 to 2027) is what the framing admits.NATIVE_RELEASES(2015 to 2027) stays every other reader's measured default. Only saved parameters (PARAMETER_RELEASES) widen. The reader of parameters named for a property, which the default export uses, does not.Evidence
VarSketch, as on 2015 to 2017);rac_advancedagainst its pinned 2015 save: every shared ElementId keeps its class. Throughrvt-elements, 59,683 of 59,683 shared saved parameter values are equal. This is the only same-model pair; Autodesk's host has no 2012 to 2014 samples.rvt-elementson the nine files: saved parameters where there were none (694 to 59,707 values a file); all other output identical tomain.rvt-ifcdefault export: identical tomainapart from the timestamp on the nine files and on the 2015 and 2019rac_advanced, the BIM4LCA office and13_Rooms_Stairs.--revit-property-setsnow writes saved parameters on 2011 to 2014 files, which no Revit export here scores.Not done: Revit 2008 to 2010. Their preamble now reads, but each partition is one gzip member with no record channels, which this reader does not frame.
Tests and checks
tests/pre2015_native_records.rs(corpus=none, ontests/fixtures/families/empty.rfa): 2,858 records, 2,842 graphs, 87 saved parameter values.--test integration, the probe), rustdoc, MSRV 1.87,measured_numbers,api-doc-ids,readme-matrix,changelog.py checkandverify-real-files.sh --check-onlypass.clippy --libstops only onpartition_name_candidates.rs(enum_variant_names), which this does not touch and which is already onmain.