/ Id-Extras Forum / Object Styles and Object Layer Options / Reply To: Object Styles and Object Layer Options

#6399
~~Ariel~~
Participant

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

Code:
myObject.itemLayer.visible = true; // or false

EDIT: I fixed the syntax, the above is now correct.