• 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. Load a layer set after Virtuoso opens

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 14825
  • 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

Load a layer set after Virtuoso opens

jpyams
jpyams over 6 years ago

Is there a way to load a new layer set file from the layer set repositories using Skill after Virtuoso has opened (without restarting)?

From this answer I can reload the layers in the current layers sets, but if I add a new layer set file this doesn't load that.  There is pteImportLayerSet(), but I want to have Virtuoso load the layer set from its repository, not import a file into the repository.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I don't think there's a way currently. How did this file magically appear in the layerSet directory? If it was via automation, wouldn't it be better to add it into the directory using pteImportLayerSet?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jpyams
    jpyams over 6 years ago in reply to Andrew Beckett

    "Better" in the sense that there are no alternatives, I guess.  Many users won't have write permissions to more global repositories, so pteImportLayerSet() won't work for them unless they import it to their directories, and now you have layer set files for each of your users that you have to maintain.

    And yes, these files are generated using an external tool, since editing layer sets using the layer palette is far more pain than we want to put our users through.

    Given that Virtuoso has the logic to check the layer set repositories already, I'd think it would be better if there were a function that just reloaded them all instead of having to write Skill to find those same files and load them in.

    It's very frustrating that Virtuoso can't read in a layer set without being obligated to manipulate the file system.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to jpyams

    pteImportLayerSet can import to other locations - not just the user working area .cadence directory. Presumably the external tool has write access to the central area, so I assumed that this external tool could generate the files in a temporary location (say under /tmp) and then SKILL could import them into the central area. Of course, I may have misunderstood your setup.

    Anyway, the long and short of it is that I don't think we anticipated your slightly unusual use model - and hence the gap in the (fairly comprehensive) "pte" SKILL API. It's a reasonable enhancement request though, so I suggest you contact customer support and ask for such an enhancement.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jpyams
    jpyams over 6 years ago in reply to Andrew Beckett

    One of my scenarios is that I add a layer set to a project-level repository, which users don't have write access to.  I want users to be able to get this layer set, but not have to restart Virtuoso whenever that happens.  In that case, the user's Virtuoso session can't import it unless it gets imported to their home directory, which kind of defeats the purpose of putting it at the project level.

    I appreciate your help.  My frustration with the pte API is that, while you can do (almost) anything you want, it is extremely context-limited.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jpyams
    jpyams over 6 years ago in reply to Andrew Beckett

    One of my scenarios is that I add a layer set to a project-level repository, which users don't have write access to.  I want users to be able to get this layer set, but not have to restart Virtuoso whenever that happens.  In that case, the user's Virtuoso session can't import it unless it gets imported to their home directory, which kind of defeats the purpose of putting it at the project level.

    I appreciate your help.  My frustration with the pte API is that, while you can do (almost) anything you want, it is extremely context-limited.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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