• 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. VIVA Skill Functions

Stats

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

VIVA Skill Functions

netbug
netbug over 9 years ago

Good afternoon,

I am using quite intensively VIVA, and I would like to create some bindkeys for the main functions I am using.

So I would like to do the following (not ordered by priority)

1 - Change Font from created labels, or when creating a label automatically use a given font and size

2 - Save the images to a PNG file with a name generated automatically, that can have any format

For eg. the name of the file could look like "test_13Mar2016_01", "test 13Mar2016_02, etc". 

If you could refer to a manual having skill functions for VIVA, I would appreciate.

Many thanks,

Pedro

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

    Hi José,

    I don't understand why saveGraphImage() should "pop the menu" (whatever that means) - which version are you using, and what arguments are you passing it:

    saveGraphImage(
    [?window x_window]
    [?fileName x_fileName]
    [?exactcopy g_exactCopy
    [?quality x_quality]
    [?msOptimize g_msOptimize]
    [?width x_width]
    [?height x_height]
    [?units s_units]
    [?resolution x_resolution]
    [?resolutionUnits s_resolutionUnits]
    [?aspectRatio g_aspectRatio]
    [?enableTitle g_enableTitle]
    [?enableLegend g_enableLegend]
    [?enableAxes g_enableAxes]
    [?enableGrids g_enableGrids]
    [?backgroundColor s_backgroundColor]
    [?saveAllSubwindows g_saveAllSubwindows]
    [?saveEachSubwindowSeparately g_saveEachSubwindowSeparately]
    )
    => x_fileName / nil

    Saves the graph as an image.

    More details in the full documentation...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi José,

    I don't understand why saveGraphImage() should "pop the menu" (whatever that means) - which version are you using, and what arguments are you passing it:

    saveGraphImage(
    [?window x_window]
    [?fileName x_fileName]
    [?exactcopy g_exactCopy
    [?quality x_quality]
    [?msOptimize g_msOptimize]
    [?width x_width]
    [?height x_height]
    [?units s_units]
    [?resolution x_resolution]
    [?resolutionUnits s_resolutionUnits]
    [?aspectRatio g_aspectRatio]
    [?enableTitle g_enableTitle]
    [?enableLegend g_enableLegend]
    [?enableAxes g_enableAxes]
    [?enableGrids g_enableGrids]
    [?backgroundColor s_backgroundColor]
    [?saveAllSubwindows g_saveAllSubwindows]
    [?saveEachSubwindowSeparately g_saveEachSubwindowSeparately]
    )
    => x_fileName / nil

    Saves the graph as an image.

    More details in the full documentation...

    Andrew

    • 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