• 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 Design
  3. Changing default settings of Virtuoso Layout XL

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 17744
  • 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

Changing default settings of Virtuoso Layout XL

Clidre
Clidre over 9 years ago

Hello,

I would like to change some default settings of Virtuoso Layout XL. Basically, I would like:

- Grid controls:  Minor Spacing=0.1, Major Spacing=0.5,  XSnap Spacing=0.01, YSnap Spacing=0.01 

- Ruler: snap target=none, background color=black, use the same color for all rules

Can you please tell me where I can find the commands I need? Can I write them in my .cdsinit file?

Thank you very much!

clidre

  • Cancel
  • ColinSutlieff
    ColinSutlieff over 9 years ago

    Hi Clidre,

    You can set the values in a .cdsenv file (in your home directory):

    layout gridSpacing float 0.1

    layout gridMultiple int 5

    layout  xSnapSpacing    float   0.01

    layout  ySnapSpacing    float   0.01

    layout  rulerRmbOptionVisibleMidPointOf2Targets boolean nil

    layout  rulerLabelBackgroundColor       cyclic  "black"

    layout  rulerUseSameColor       boolean t

    Or, alternatively, you can define them in your .cdsinit file, although the syntax is different:

    Note the tick character 

    envSetVal("layout" "gridSpacing" 'float 0.1)

    envSetVal("layout" "gridMultiple " 'int 5)

    envSetVal("layout" "xSnapSpacing    " 'float 0.01)

    envSetVal("layout" "xSnapSpacing    " 'float 0.01)

    envSetVal("layout" "rulerRmbOptionVisibleMidPointOf2Targets " 'boolean nil)

    envSetVal("layout" "rulerLabelBackgroundColor" 'cyclic "black")

    envSetVal("layout" "rulerUseSameColor" 'boolean t)

    If you have difficulty finding other environment settings, an easy way is to manually make the settings, then, in the CIW, click option->save defaults and dump the settings to an ascii file. Then you can see the correct syntax.

    Regards

    Colin

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Clidre
    Clidre over 9 years ago

    Thank you very much for your comprehensive reply and your trick with CIW!

    Regards

    Clidre

    • 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