Read and Write Contract#

The complete rules for reading and writing simulation data. The Simulation Data guides introduce the same API in short form.

Page

What It Covers

Overview

How a read or write session works from start to end.

Data Model and Semantics

Groups, shapes, units and what happens when data is not available.

Device Residency and Interop

Where each value lives, DLPack ownership, CUDA synchronization and CUDA graphs.

Readable Data

Every value you can read, by object type.

Discovering Attribute Metadata

How a program finds the attributes, types and units at run time.

Detailed I/O Attribute Reference

Exact names, types, layouts and units for every object type.

Writable Data

Every value you can write, and when each write takes effect.

Vehicle Examples

Reading and writing vehicle data in C++ and Python.

Path Patterns

The full syntax for selecting objects by path.

Known Limitations and Gaps

What the read and write API does not cover yet.