![]() |
|
Script checking tagcache - Printable Version +- LogicMachine 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: Script checking tagcache (/showthread.php?tid=6445) |
Script checking tagcache - Trond Hoyem - 28.05.2026 Hi I want to, in a loop, check a lot of adresses based on the content of the tagcache. I know that I can create a table with all objects with a certain tag by using the obj = grp.tag(), but I want to check for more than one spesifik tag within a range of objects where some can have "tag1, tag2, tag3" etc, and others maybe just "tag1". Is there some kind of wildcard I can use for this, like '*tag1*' in the script? I have a SQL query that finds all the objects I want to check. Within that rage I want to do different things with the objects depending on which tags are on each object. Example; all objects containing "tag2"; switch on to 30%, all other objects; switch OFF. RE: Script checking tagcache - Daniel - 28.05.2026 Just open script and look in to helpers to Multiple object functions(tags) See the provided examples. |