How to delete invisible objects? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: How to delete invisible objects? (/showthread.php?tid=520) |
How to delete invisible objects? - Thomas - 21.12.2016 Hi Somehow (probably the screen has been made in a previous firmware build) it happened I've an object which is invisible in usermode but visible in touch mode. The problem is the object has no axes and size. I exported the window and ther's this row: {"object":63489,"id":3092,"params":"{\"size\":\"\",\"bold\":0,\"italic\":0,\"underline\":0,\"width\":56,\"height\":56,\"icon_on\":\"staircase-down-7A7F71-010101.svg\",\"icon_off\":\"staircase-down-A0F007-010101.svg\",\"icon_touch\":\"\",\"icons_add\":[],\"displaymode\":\"icon\",\"showcontrol\":0,\"fixedvalue\":\"\",\"update\":false,\"pincode\":\"\",\"widget\":81,\"backdrop\":0}" You can see size parameters are empty. Is there any workaround how to delete this object from my visualisation? I don't want export it into a tar file, delete it from the file and import the file back because this visu has been linked to another visu pages. RE: How to delete invisible objects? - admin - 21.12.2016 Via a script Code: db:delete('visobjects', { id = 3092 }) RE: How to delete invisible objects? - Thomas - 21.12.2016 Thank you it has worked! |