• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Saving/recalling state (visible/selectable) of all layers...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 994
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Saving/recalling state (visible/selectable) of all layers in Palette Editor with MPT Support enabled

Teo D
Teo D over 4 years ago

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

  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information