• 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
Parents
  • ScottCad
    ScottCad over 11 years ago

     Nope... Silly eh :)

    To make things a bit easier here are some macros you can use to toggle the grid size. If the command window is open at the bottom of the screen then the grid size will get reported.

    Add this macro to your env file it uses the g key to cycle through various grid sizes.

    ##### "''Macros to setup grids" Uses grid-set.scr to set values
    funckey g 'settoggle gridvalue 100 50 25 12.5 5; replay set-grid $gridvalue;echo grid = $gridvalue'

    The macro depends on a script "grid-set.scr" to work. This file contains the grid settings. Place the script in the directory you use for scripts.

    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

    Kudos to the original author of these macros... I find them a big help hope you will too :)

    Scott.. 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ScottCad
    ScottCad over 11 years ago

     Nope... Silly eh :)

    To make things a bit easier here are some macros you can use to toggle the grid size. If the command window is open at the bottom of the screen then the grid size will get reported.

    Add this macro to your env file it uses the g key to cycle through various grid sizes.

    ##### "''Macros to setup grids" Uses grid-set.scr to set values
    funckey g 'settoggle gridvalue 100 50 25 12.5 5; replay set-grid $gridvalue;echo grid = $gridvalue'

    The macro depends on a script "grid-set.scr" to work. This file contains the grid settings. Place the script in the directory you use for scripts.

    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

    Kudos to the original author of these macros... I find them a big help hope you will too :)

    Scott.. 

     

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