Logic Machine Forum
Save all current objects and object values to file - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Save all current objects and object values to file (/showthread.php?tid=3762)



Save all current objects and object values to file - Håvard Fosså - 21.12.2021

We need to save all the current objects, containing group address, Object value and the current value of the object to a file for later export.

Is there a simple way to loop through all objects to get this information?


RE: Save all current objects and object values to file - admin - 21.12.2021

Use grp.all(): https://openrb.com/docs/lua.htm#grp.all


RE: Save all current objects and object values to file - Håvard Fosså - 31.12.2021

(21.12.2021, 08:09)admin Wrote: Use grp.all(): https://openrb.com/docs/lua.htm#grp.all

ThanksSmile