May 24, 2021 at 4:06 pm #6399
No, the script just gets a list of found objects.
To switch layer visibility on and off I think (from memory) it’s something like
myObject.itemLayer.visible = true; // or false
EDIT: I fixed the syntax, the above is now correct.