I’m guessing my issue is similar for Rhino 5 and won’t be addressed, but I’d like to confirm. I am also finding that certain attributes don’t get written to the File3dm, specifically ObjectColor and ColorSource. For example:
Rhino.FileIO.File3dm newFile = new Rhino.FileIO.File3dm();
var att = new ObjectAttributes();
att.Name = "Test";
att.ObjectColor = Color.Red;
att.ColorSource = ObjectColorSource.ColorFromObject;
newFile.Objects.AddCircle(new Circle(5), att);
When I Polish and Write my File3dm, it saves it fine with my object. The object Name attribute is applied, but ObjectColor and ColorSource are not. Adding the same object to the ActiveDoc of the file from which I authoring the new File3dm results in the correct application of object attributes.
Am I missing something, or is this known and being addressed in V6?