• 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. PCB Design
  3. show grid settings

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 166
  • Views 21064
  • Members are here 0
More Content
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

show grid settings

docb
docb over 11 years ago

Is there a way to see current grid settings on the screen, or do I need to go to "settings/define grid" just to see current?

  • Cancel
  • chads108
    chads108 over 11 years ago

     Sorry, only one attachment at a time allowed apparently.  Here is the second one.

     Chad

    Dynamic_Menus.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ScottCad
    ScottCad over 11 years ago

    Strange result.

    There are two parts to make this work. Add this to your env file. It will use the lower case g key to cycle through various
    grid sizes. 

    funckey g 'settoggle gridvalue 100 50 25 12.5 5; replay set-grid $gridvalue;echo grid = $gridvalue'

    ------------------------------------------------------------------------------------------------------------------------------------------- 

    The second part is a script. It needs to be placed in the directory where cadence can read scripts from.

    Save it as set-grid.scr

    Verify that your "Scriptpath" folder under user preferences >Paths>Config is where you have saved set-grid.scr
    otherwise it wont work 

     ------------------------------------------------------------------------------------------------------------------------------------------

    scriptmode +invisible
    setwindow pcb
    define grid
    setwindow form.grid
    FORM grid non_etch non_etch_x_grids $gridvalue
    FORM grid non_etch non_etch_y_grids $gridvalue
    FORM grid all_etch all_etch_x_grids $gridvalue
    FORM grid all_etch all_etch_y_grids $gridvalue
    FORM grid done

    It works for me in 16.6

    Thanks Scott 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • docb
    docb over 11 years ago

     Got it. I was missing crcuial carriage returns. Thanks.

    (I still wish there was a way to see the grid setting without changing)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • eric03
    eric03 over 7 years ago in reply to ScottCad

    Great Scott! I lost this command on my env files when my laptop is formatted. I just had a question also on this, can the grids be forward and backward on the values?
    For example i set it to 100 then 50 and back to 100, do i need to go through all of the declared values before i get back to 100?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
<
Cadence Guidelines

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