OK, did this couple times to make sure but if can be verified just to make sure it’s just not one of those that it’s near end of day Friday things. I have simple brep object (in this test case simple surface) and attach user text via RhinoObject.Attributes.SetUserText(string,string) and can check to make sure worked via getusertext in command line…now when I save file via…
FileWriteOptions fwo = new FileWriteOptions();
fwo.IncludeBitmapTable = true;
fwo.SuppressDialogBoxes = true;
fwo.WriteUserData = true;
RhinoDoc.ActiveDoc.WriteFile(savefile, fwo);
and reopen the file the user text is gone. (both checking via RhinoObject.attributes.GetUserText and also simple command line getusertext passing allkeys as option)
If I go back and attach user text to object’s geometry instead (rhinoobject.geometry.setusertext) it stays…
if I do simple file, export in rhino on object the user text stays attached via rhinoobject.attributes.setusertext…