5141 change layout grid

Discussion in 'Cadence' started by stuso, Jul 17, 2009.

  1. stuso

    stuso Guest

    Hi there, i'd like to change my grid quickly mid layout so i tried
    these env varibales:

    envSetVal( "layout" "xSnapSpacing" 'float 0.26)
    envSetVal( "layout" "ySnapSpacing" 'float 0.26)

    this does not seem to have any effect? Am i changing the wrong
    variables?

    Thanks

    Stu
     
    stuso, Jul 17, 2009
    #1
  2. stuso wrote, on 07/17/09 18:11:
    These are used to seed the xSnapSpacing on the window when it is opened. So what
    you need is:

    hiGetCurrentWindow()~>xSnapSpacing=0.26
    hiGetCurrentWindow()~>ySnapSpacing=0.26

    Regards,

    Andrew.
     
    Andrew Beckett, Jul 17, 2009
    #2
  3. stuso

    stuso Guest

    Thanks Andrew, that works for me.
     
    stuso, Jul 20, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.