Properties
If a 3dm archive is being read or written, then this is the version of the 3dm archive format (1, 2, 3, 4 or 5). 0 a 3dm archive is not being read/written 1 a version 1 3dm archive is being read/written 2 a version 2 3dm archive is being read/written 3 a version 3 3dm archive is being read/written 4 a version 4 3dm archive is being read/written 5 an old version 5 3dm archive is being read 50 a version 5 3dm archive is being read/written.
Methods
Begins writing a chunk
Returns: True if input was valid and chunk was started. In this case you must call EndWrite3dmChunk(), even if something goes wrong while you attempt to write the contents of the chunk. False if input was not valid or the write failed.
Expert user function to control CRC calculation while reading and writing. Typically this is used when seeking around and reading/writing information in non-serial order.
Returns: Current state of CRC calculation. Use the returned value to restore the CRC calculation setting after you are finished doing your fancy pants expert IO.
A chunk version is a single byte that encodes a major.minor version number. Useful when creating I/O code for 3dm chunks that may change in the future. Increment the minor version number if new information is added to the end of the chunk. Increment the major version if the format of the chunk changes in some other way.
Returns: true on successful read.
Writes a bool value to the archive.
Writes a list, an array, or any enumerable of bool to the archive.
The return will always be an array.
Writes a BoundingBox value to the archive.
Writes a byte value to the archive.
Writes a list, an array, or any enumerable of byte to the archive.
The return will always be an array.
Writes a Color value to the archive.
Writes a list, an array, or any enumerable of byte to the archive as a compressed buffer.
The return will always be an array.
Delivers the complete content of a dictionary to the archive.
Writes a double value to the archive.
Writes a list, an array, or any enumerable of double to the archive.
The return will always be an array.
Reads a legacy ON_CheckSum, only provided to read data chunks from old V5 files, the CheckSum read is discarded
obsoleteThis is only present to allow writing of old, empty ON_CheckSum data
Writes a Font value to the archive.
Writes a GeometryBase value to the archive.
Writes a Guid value to the archive.
Writes a list, an array, or any enumerable of Guid to the archive.
The return will always be an array.
Writes a int value to the archive.
Writes a long value to the archive.
Writes a list, an array, or any enumerable of int to the archive.
The return will always be an array.
Writes a Interval value to the archive.
Writes a Line value to the archive.
Writes a MeshingParameters value to the archive.
Writes a list, an array, or any enumerable of ObjRef to the archive.
The return will always be an array.
Writes a Plane value to the archive.
Writes a Point value to the archive.
Writes a Point2d value to the archive.
Writes a Point3d value to the archive.
Writes a Point3f value to the archive.
Writes a Point4d value to the archive.
Writes a PointF value to the archive.
Writes a Ray3d value to the archive.
Writes a Rectangle value to the archive.
Writes a RectangleF value to the archive.
Writes a RenderSettings value to the archive.
Writes a sbyte value to the archive.
Writes a list, an array, or any enumerable of sbyte to the archive.
The return will always be an array.
Writes a short value to the archive.
Writes a list, an array, or any enumerable of short to the archive.
The return will always be an array.
Writes a float value to the archive.
Writes a list, an array, or any enumerable of float to the archive.
The return will always be an array.
Writes a Size value to the archive.
Writes a SizeF value to the archive.
Writes a string value to the archive.
Writes a list, an array, or any enumerable of string to the archive.
The return will always be an array.
Writes a Transform value to the archive.
Writes a uint value to the archive.
Writes a ushort value to the archive.
Writes a string value to the archive.
Writes a Vector2d value to the archive.
Writes a Vector3d value to the archive.