Logic Machine Forum
Get config - 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: Get config (/showthread.php?tid=1869)



Get config - Thomas - 27.01.2019

Hi
Please help me. I'm looking for a function which returns 'config' table. A function which is opposite to grp.create(config).
Or at least enums part of the config table.
What I want to do is a function that copies settings of one group object to another.


RE: Get config - Erwin van der Zwart - 27.01.2019

Hi,

I think you are searching for grp.find(address), this returns all parameters of the found object.

By using a db.update you should be able to transfer values from the found object to another target object.

But why don’t you use the mass edit option for this?

BR,

Erwin


RE: Get config - Thomas - 28.01.2019

grp.find doesn't return enums. Or maybe there's a way how to get it but I don't know how.