Skip to content

Expose CreationTimeId, DeletionTimeId and document section keys and descriptors (fixes #15) - #32

Merged
mahach666 merged 1 commit into
mainfrom
feat/issue-15-section-keys-and-row-integers
Nov 14, 2026
Merged

mahach666 merged 1 commit into
mainfrom
feat/issue-15-section-keys-and-row-integers

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Reverse engineering of Tekla Structures binaries (\DBvirtual.dll, \DBdict.dll, \Model.dll, \Tekla.Structures.Native.DbvDatabase.dll) and observation of model database changes before and after revisions in \ dbio-diff\ and \Sample Office Building\ revealed the exact meanings of table section headers and row metadata:

  • Section Key: Schema Table ID (table number) from the database dictionary (\dbd_getvirtualtablename(tableNumber)). E.g. 1 = \object, 3 = \coordsys, 13 = \point, 16 = \part, 94 = \part_numbering, 95 = \�ssembly_numbering, 96 =
    ebar_numbering, 105 = \object_numbering, 141 = \object_phase. Unkeyed sections represent internal or anonymous domains.
  • Descriptor Words: Primary and secondary index specifications. Descriptor 0 indicates the primary index / cluster definition; descriptors 1..N indicate whether secondary indexes defined in the schema are active (1) or inactive (0) on this table domain.
  • Row Marker: In .db1\ files, \

@mahach666
mahach666 merged commit 2f9f66f into main Nov 14, 2026
4 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