• 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. Ruler setup

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 126
  • Views 23211
  • 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

Ruler setup

tester
tester over 15 years ago

Dear All,

I am using IC5.1.0 and when I am working on the layout, I have noticed that the marking of the ruler is kind of thick. I was wondering whether there is way to make it thinner so that I can get the accurate result.

Thanks

 

 

 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    This got overlooked because you'd posted on the end of an old (over 4 years old) thread, which the forum guidelines kindly ask you not to do.

    Anyway, the hilite/drawing4 packet ought to work - although it doesn't work for non-savable rulers (from a quick hunt around I couldn't locate the packet used for "transient" rulers). However, it's now possible to directly set the packet name used for rulers:

    Problem

    I am looking for a quick way to change color of the ruler in Virtuoso Layout Suite. Changing the definition (color/line style/stipple...) will affect other applications/tools. I am specially looking to change color of just the ruler. How can I achieve the same?

    Solution

    New environment variables ‘rulerColorPacketName’ or 'transientRulerColorPacketName' (for non-savable ruler) has been introduced starting IC6.1.6 (IC616). We can assign desired display packet for the ruler.

    SKILL Example Usage: Load via .cdsinit or CIW window.
    envSetVal("graphic" "rulerColorPacketName" 'string "magenta")
    OR 
    .cdsenv entry as following:
    graphic rulerColorPacketName string "magenta"

    For changing the color/packet for the non-savable (i.e. transient) rulers you can use the below variable either in the .cdsinit or .cdsenv file.

    -------------------.cdsinit or CIW window ---------------------
    envSetVal("graphic" "transientRulerColorPacketName" 'string "yellow")
    -----------------------------------------------------------------------
    
    Or
    
    ------------------- .cdsenv file ------------------------------
    graphic transientRulerColorPacketName string "yellow"
    -----------------------------------------------------------------

    NOTE:  You can also set the below environment variables, to change the options in the Create Ruler form,

    envSetVal("layout" "saveRulers" 'boolean nil)      ;; Create Ruler as a savable object Under General Tab as "Off", now it will create the transient (non-savable) rulers.

    Or

    layout saveRulers boolean nil                                             
    
    envSetVal("layout" "rulerUseSameColor" 'boolean t) ;; Use same color for all rulers Under the Display Tab as "On"
    
    Or
    
    layout rulerUseSameColor boolean t                                        
    

    When rulerUseSameColor variable is also set the transient rulers also uses the same color/packet as used by the persistent rulers.

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

    However, there appears to be a bug. Whenever you start the ruler command, it resets the packet back to the default (for transient rulers). I found an internal CCR on this, but it's not been fixed.

    For me, the transient rulers are in white - I don't know what packet is controlling this.

    I suggest you contact customer support, for this info, plus the bug.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Composter
    Composter over 10 years ago

    Thanks very much Andrew - and sorry about stepping on the forum guidelines (which I didn't read).

    I did contact customer support as you suggested and requested the lpp for transient rulers and also mentioned the bug again. 

    • 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