• 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. envSetVal list of "tools" that can be modified

Stats

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

envSetVal list of "tools" that can be modified

SurajK
SurajK over 1 year ago

Is there a list of tools that envSetVal can modify?

For example I wanted to increase the font of the title of a ViVA graph that I plotted in a subwindow but don't know what the syntax/command for the same is.

Since I am using envSetVal to modify a couple of ViVA graph properties like lineThickness, lineStyle, colorBank, background etc., I assume envSetVal(tool "font" 'string val) can also change the position of the legend of a graph from left to above and increase the font size of the title but not sure what exactly I need to pass for the tool and val.

Can someone please help me out with this?

Thanks!

  • Cancel
  • SurajK
    SurajK over 1 year ago

    I guess I found the commands to move the legend to above and increase the graph title font

    envSetVal("viva.graph" "titleFont" 'string "Default,16,-1,5,50,0,0,0,0,0")

    envSetVal("viva.rectGraph" "legendPosition" 'string "above")

    But still looking for the list of tools and values that envSetVal can modify.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to SurajK

    In the CIW - Options→Cdsenv Editor will list all the public tools and variables.

    envGetAvailableTools() will list the top-level tools (not the partitions or available variable names though). So that may not help you.

    Also, typically the most important settings are documented.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • SurajK
    SurajK over 1 year ago in reply to Andrew Beckett

    Thanks Andrew!

    This helps a lot.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SurajK
    SurajK over 1 year ago in reply to Andrew Beckett

    Also Andrew Beckett can you please let me know the command to align the title of the graph to the middle instead of left?

    I gave envSetVal("viva.graph" "titleDisplayMode" 'string "elideMiddle") but it doesn't seem to be aligning the title of the graph to the middle.

    Can you please let me know if this is the wrong command?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to SurajK

    There is no control to do this - you can't do it interactively (as far as I know - if you think this is possible, please describe how you do it interactively) - and there's nothing to change the behaviour.

    If you read the documentation, this environment variable describes the behaviour when the title is too long to fit in the available space - it either elides from the middle (the default), the left or right - in other words, it omits part of the title and is replaced by "..." . For example, this long title:

    If the window is made narrower - it's eliding in the middle:

    The env var (if set before the window is created) controls if the ... are shown in the middle, the left or right end. It is not about justification of the title.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • SurajK
    SurajK over 1 year ago in reply to Andrew Beckett

    Got it. Thanks Andrew Beckett

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SurajK
    SurajK over 1 year ago in reply to Andrew Beckett

    Andrew Beckett So far I didn't find any direct command to format the title of the plot to the middle but I was able to satisfy my requirement through a workaround solution by doing 

    addSubwindowTitle("                                                         Plot_Title")

    • Cancel
    • Vote Up 0 Vote Down
    • 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