Entity Records
List of: Discussion Topic
Subjects: SAT Save and Restore
Contents: Kernel

The header is followed by a sequence of entity records. Each entity record consists of a sequence number (optional), an entity type identifier, the entity data, and a terminator.

Pointers between entities are saved as integer index values, with NULL pointers represented by the value -1. ACIS pointer indices are preceded by $ in the SAT file, or by a binary Tag 12 in the SAB file.

Top level entities (e.g., body entities) are always the first records in the save file. The rest of the data records are in no particular order.

Beginning with ACIS Release 7.0, the format of ENTITY and HISTORY_STREAM records has been changed to accommodate the addition of entity IDs. A new integer field has been added to the entity record to hold the entity's ID. A value of -1 indicates that an ID has not yet been requested for the ENTITY. This is field #2 in any entity record, where the entity type is field #0. A new integer field has been added to history stream records (part of the history data section) to hold the next available entity ID in that stream. This is field #3 in the history stream record, where "history_stream" is the first field.
PDF/KERN/09SAT.PDF
HTM/DATA/KERN/KERN/09SAT/0011.HTM