Save data to file (without using Document Data)

Trying to develop a plugin for Rhino 6 using python. I want to save lists of data, possibly 100’s of items, between rhino sessions, but I’m trying to avoid using DocumentData and DocumentUserText as these are now very visible in the Toolbar Tab “Document User Text” and my hundreds of entries would fill it entirely.

I’ve seen .WriteDocument() and .ReadDocument() mentioned for C#, but don’t see these functions exposed to Python.

Are there any other methods available?

Thanks,
Tim

@Trav did we ever implement a “standard” for hiding entries from the UI?

@stevebaer Yeah, I believe we decided on prefixing entries with a period to hide them. I’ll bump this up to 6.1 https://mcneel.myjetbrains.com/youtrack/issue/RH-42118

2 Likes

Sounds great; thanks