This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
odtools:od_storefilewithobject [2019/01/21 21:37] oliver created |
odtools:od_storefilewithobject [2019/01/21 22:06] (current) oliver |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **OD Store File In Object** is a command sequence plugin that takes a filename and chunk ID as parameters. It is not to be used a standalone tool, but can be used within other scripts or just be called with arguments. | + | **OD Store File In Object** is a command sequence plugin that takes a filename and chunk ID as parameters. It can either be called with command parameters (see below) or without, in which case the UI will pop up, asking for filename and chunk ID. |
In python, invoking the command is at follows: | In python, invoking the command is at follows: | ||
Line 12: | Line 12: | ||
The file can at any point in time be restored via OD_RestoreFileFromObject. One use for the mechanism, is to store copyright trackers (like your name, date, etc) in your object. | The file can at any point in time be restored via OD_RestoreFileFromObject. One use for the mechanism, is to store copyright trackers (like your name, date, etc) in your object. | ||
+ | |||
+ | The File currently has a size limit of 1 MB. | ||
+ | You are allowed to store multiple files (1 per Chunk ID) |