Hi,
I’ve met some strange behaviour of archive.ReadDictionary.
I have 2 plugins Reading the same document in more or less the same time (managed by rhino3d). One can deserialize data without any problems, on 2nd one readErrorOccured is true. What could be the problem here? Is it access related? Nothing actually changes inside 3dm file after 1st plugin reads data.
This is the code.
protected override void ReadDocument(RhinoDoc doc, BinaryArchiveReader archive, FileReadOptions options)
{
shipData = new ShipData();
Rhino.Collections.ArchivableDictionary dict = archive.ReadDictionary();
shipData.VesselName = (string)dict["VesselName"];
.....
}