Application level user data


#1

From what I can work out, we can easily store information at object level (rs.SetUserText) and at document level (rs.SetUserData), but not at application level.

I find myself storing dictionary-like info in the CommandAliasList but that doesn’t really seem so good… any better ideas?.. add rs.SetApplicationData perhaps?

Paul


#2

User text and data can either be stored as an object attribute or in the file itself (not attached to a specific object) as far as I know - see the Rhinoscript help file under User Data Methods for more details…

If you’re looking to have data stored that spans sessions, then I guess you would need to either write/read that to/from the registry, or perhaps store an .ini file somewhere on the computer. Rhinoscript has a method for reading .ini files, GetSettings().

–Mitch