Can guarantee against data corruption when reading/writing, and is very fast. PStore - Ruby’s blessed method for data storage, but I’ve not heard of anyone using it. Plugin settings that you would like carried across all files: Here’s my compiled list of the options for storing data How to Store Settings/Data It may be better to save somewhere less frequently accessed. So far I feel that suggestion is easiest to get working cross-platform, but worry that users may be confused about a new folder appearing in their Documents and may inadvertently delete it. Others I’ve seen have recommended svaing things in the Windows Registry, which is a little hairy, and only works on one platform. Suggestions for Where to Store recommends not saving anything in the Plugins folder, because those files are liable to be deleted unexpectedly when updating/installing recommends storing in %AppData%/SuperGeek/Widget (for a company called SuperGeek) in order to preserve settings if Sketchup version recommends storing data in Documents on Mac and My Documents on Windows. So I created a list and compiled the suggestions of various authors for where to store data/settings for plugins. So far I’ve not been able to find one “blessed answer” from anyone. I’ve been struggling to find out where to store various data both user made/edited and set by a plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |