i have a large set of values from a form like integers, floats, boolans etc. which i am trying to write to and read from a Rhino document. Is there a way to accomplish this using an ArchivableDictionary with Python ?
The values could be written with DocumentUserText too but i am trying to avoid it since they would be visible and editable in Rhino 6 new User Text dialog unter Document Properties. They should only be editable through my forms.
Good thing the string table does not validate input.
@brian or @pascal, do we have any concept of hidden items like this anywhere else in Rhino? I know @JohnM wanted some of this functionality a long time ago while putting the last version of Flamingo together.
Maybe “visible” was confusing? What I meant is that I don’t care if my document data could be displayed and edited with regular Rhino commands, like GetDocumentUserText and SetDocumentUserText.
This is the case if I’m using scriptcontext.doc.Strings to store custom data from Python. But as it’s name says, its just holding strings and thus everything has to be converted to strings and of course back again to complex objects like for example vectors or point coordinates.
The ArchivableDictionary should handle that for me, but I don’t know how to use it.