Generic text "user value" in the AS file format

Discuss ideas for new features with other users. To submit feature requests to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Generic text "user value" in the AS file format

Post by heyvern »

This would be fantastic. One tiny little addition to the file format and it would do so much for scripting and saving settings for files from custom scripts. Just a simple way to save a string to the file format that won't be overwriten as it is now when I try to write anything "not supported" to the AS file.

All that is needed is one "protected" element in the file format that can be used by a script to store text strings. That one small addition would solve a bazillion problems with saving file specific settings like bone groups, or "animated constraints"... or anything else you can think of.

To make it even easier to use it could be part of the MohoDoc class:
moho.document:userValue(string)
Then it would be much easier to read in that string value from the AS file and parse it for whatever settings a tool or script might need. There could be many values saved to the same string for different scripts and tools.

I find I am having to save either a separate text file (which is a pain) or save to the name of a bone or layer, which is also a pain but for different reasons since someone could delete the settings by deleting this special bone or layer.

-vern
Post Reply