Revit/Dynamo temporary information storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does Revit or Dynamo have an internal dictionary or something that can be accessed to store information temporarily? I'm thinking of something similar to Rhino with scriptcontext.sticky which is a builtin that allows me to save user inputs and command settings for the duration of the document open session.
Dynamo player does this automatically with inputs, but if I want to obtain user information from a form, I don't know of a way to store that info for subsequent usage of that script.
If there isn't a built-in solution, I'm fine with pickling or exporting info to a text file instead. In this case, does anyone know of a good place to store this file so that it will exist while revit is open but deleted when the project or revit is closed? I suppose a user temp folder is fine too, as the text file will never be very big.
Thanks in advance for any input!