• 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. Edit Snap Mode is being set to "anyAngle" on startup - Virtuoso...

Stats

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

Edit Snap Mode is being set to "anyAngle" on startup - Virtuoso XL 6.1.8-64b.500.21

dietSprunk
dietSprunk over 3 years ago

I'd like my snap modes to be set to "diagonal" on startup of Virtuoso XL.  However, on my present project, create snap mode is set to "diagonal", and edit snap mode is set to "anyAngle" on startup.  I wasn't aware that there were separate controls in the .cdsenv to set these differently on startup.  I have the following set in my .cdsenv in my home directory:

layout segSnapMode string "diagonal"
layout snapMode string "diagonal"

How do I get edit snap mode set to "diagonal" on startup?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    There's a couple of possibilities here. First of all, in the CIW, if you do: envGetVal("layout" "segSnapMode") after startup, does it return "diagonal"? If so, then it may be that there is a property on your library or technology library overriding the default. You can check this by going over your library or technology library in the library manager and doing Right Mouse->Properties and looking for a property called viewProps with an "EXPAND" button, and then within that there would be a property called "maskLayout" with a button "EXPAND" and within that a property called segSnapMode - which you could then delete or change.

    If it doesn't return "diagonal", then there's probably an envSetVal in your .cdsinit or central .cdisnit somewhere. You could then put:

    envSetVal("layout" "segSnapMode" 'string "diagonal")

    in your .cdsinit, presumably somewhere that you can guarantee that your envSetVal is called after some central setup?

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • dietSprunk
    dietSprunk over 3 years ago in reply to Andrew Beckett

    The envGetVal() call listed above returned "anyAngle".  I went into the library properties and changed it manually to "diagonal" and that seems to work.

    For some reason, putting the envSetVal() function as listed above in my .cdsinit didn't do anything.

    This works fine for what I want though.

    Thanks for the help Andrew.

    • 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