• 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 Design
  3. Environment Variable for Polar Plot

Stats

  • Replies 1
  • Subscribers 129
  • Views 36
  • Members are here 0

Environment Variable for Polar Plot

kolep
kolep 2 hours ago

1. Can someone confirm that the following env variables are correct because they don't affect the plot?

envSetVal("viva.polarGrid" "numCircles" 'string "2")
envSetVal("viva.polarGrid" "numRadials" 'string "2")

2. When I save the plot via File>Save Image, the rings are disappear. In the GUI, the Axis and Grids are greyed out. Is there any way to change it, preferable using envSetVal?

3. I learned that there are two ways to use the env variables. See below:
     option 1 : envSetVal("viva.polarGrid" "numCircles" 'string "2") via cdsinit
     option 2 : viva.polarGrid numCircles string "1" via cdsenv
   Which one is the proper one? is there a way to load cdsenv without restarting cadence?

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 59 minutes ago

    There appears to be a bug that numCIrcles doesn't work. I filed a Cadence Change Request (CCR) #3249057 to get this fixed.

    numRadials does work for me though - I tested it.

    The save image seems to not work if you use the "Replace background color with ..." option. If that's turned off, you get the grid (same is true if you turn on the render exactly as window option). 

    Anyway, I filed a CCR for that too #3249063

    It doesn't matter whether you put envSetVal in .cdsinit or use a ~/.cdsenv file (there are a small number of variables that only work in .cdsenv because they need to be set before Virtuoso fully starts or affect other applications like the library manager, but in general they are interchangeable). You can load a .cdsenv file using envLoadFile("~/.cdsenv")

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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