I'm looking for functions to save/recall the state all the layers in the Palette Assistant with MPT Support enabled. I can save the states of the layers using the leIsLayerVisible() and leIsLayerSelectable() functions. I can also recall the state of all the layers with a single call to leSetLayerAttributes(), with a long list of arguments, each representing one lpp. That works great so long as MPT Support is not enabled in the Palette Assistant. However, once MPT Support mode is enabled, I can see that only the state of the "main" layer/purpose is updated; all the colored layers under it maintain their previous state. The same thing happens when I use the pteSaveLSWInfo() / pteLoadLSWInfo() functions (which use the leSetLayerAttributes() under the hood).
I am able to accomplish what I want using multiple calls to pteSetVisible() (one call per layer). This updates the base lpp as well as all the colored variants under it. Unfortunately, this take a very long time to complete.
Is there some way of quickly setting the state of all the layers when using the Palette Editor with MPT Support enabled? I've searched the documentation and Google and haven't come up with anything. Is there a way to perhaps send multiple layers/settings to pteSetVisible() in a single call? Or maybe to have leSetLayerAttributes() set the state of the colored versions of each "main" layer/purpose pair? Alternately, does Virtuoso provide some other way of accomplishing what I'm trying to do, aside from custom SKILL code?
I'm using Virtuoso Layout XL under ICADVM18.1-64b.500.8
I appreciate your help very much.
Cheers,
Teo