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.
…r saved parameters (RE-511) A Revit 2008 to 2010 partition is one gzip member, not segments. The member holds the partition's records as three sections, channels 101, 102 and 103 in that order, each framed as from 2011 on, closed by an empty record and listing the same elements in the same order. On 2008 the records of channels 102 and 103 carry no id: they are given channel 101's in the same place, and every graph they decode to names that id as its owner. On the four local files of 2008 to 2010, all 10 partitions frame and 98.7 to 100 per cent of the graphs decode. NamedParam has no m_reporting before 2011; such a slot is read as not reporting. FRAMED_RELEASES and PARAMETER_RELEASES start at 2008. rvt-elements gives these files' elements their saved parameters; nothing else it prints and no IFC changes. No later save of these models is held, so the values are not checked against another reading.
Owner
|
@puzzbobb, thank you. |
Owner
Owner
|
@puzzbobb, the measurement and the code read, on a merge of
To change:
Docs: the same three asks as on #2306, for RE-511's table and this description: full SHA-256, the local files by kind unless their names are public, and a Next, yours, after #2306's: those and the merge of |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RE-511. The native record reader, and with it saved parameters, now works on Revit 2008 to 2010. Stacked on the 2011 to 2014 PR (RE-510); review that first.
A partition of these releases has no segments. After the 8-byte header (word 4 on 2008, 5 on 2009 and 2010) it is one gzip member, which holds three sections followed by a word of 0:
id,length, body,lengthu32::MAXid, word,length, body,lengthu32::MAXand word 1On 2008, sections 2 and 3 have no
id. Their records are channel 101's in the same order, as 2009 and 2010 list them.native_segments::walk_selectedreads this layout where the schema has noSegmentMarkerand the header word is 4 or 5. It gives each section to the callback as one group of its channel, sogroup_recordsframes the records as it does from 2011 on. On 2008 it writes each record's id in, in a copy. No marker declares counts on these releases, so the walker checks each record's two lengths, each section's close, that every section has section 1's length and ids, the final word, and that the terminal is under one page.NamedParamhas nom_reportingbefore 2011, so such a slot is read as not reporting.FRAMED_RELEASESandPARAMETER_RELEASESnow start at 2008. Every other reader keepsNATIVE_RELEASES.Evidence
Four local, closed-source files (2008, 2009 twice, 2010), the only files of those releases held. Hashes are in the report.
VarSketch,RefPlaneandViewport, as on later releases. Every decoded graph names its record's id as its owner, 17,769 of 17,769 on 2008, which checks the positional ids.rvt-elements: 721, 1,154, 54 and 8 saved parameter values where there were none. Everything else it prints is identical, and it prints the same bytes as the 2011 to 2014 branch on that branch's files and four later controls.rvt-ifcdefault export: identical tomainapart from the timestamp on all 16 files.Tests and checks
tests/pre2011_native_records.rs, alocaltarget readingRVT_PRE2011_DIR, holds the four files to the report's counts. CI does not run it.--test integration), rustdoc, MSRV 1.87,measured_numbers,api-doc-ids,cited-runs-kept,readme-matrix,changelog.py checkandverify-real-files.sh --check-onlypass.clippy --libstops only onpartition_name_candidates.rs, as it does onmain.