Layer Panel Options with Photoshop API


is it possible to access Layer Panel Options with Photoshop API?
I would like to set Thumbnail size preview to None before running function.
Having this option set s None saves me around 3 hours when processing lot of files

Does it save you the same amount of time when you hide the layers panel?

Last time I checked I think only a few of those options are possible to change. And it can’t be done in DOM.

Actually, if hiding panel would help, you could try hiding all panels (Tab key toggles this mode)

Yes, hiding panel also saves the time.
Is it possible to hide it with code?

There are quite a few topics about how to hide/show panels