• 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 SKILL
  3. envSetVal "labelHeight" (IC6) from .cdsinit

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 5461
  • 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

envSetVal "labelHeight" (IC6) from .cdsinit

stuso
stuso over 13 years ago

 hi guys,

i can do the following in my ciw/virtuoso window:

envSetVal( "layout" "labelHeight" 'float 0.05 )

and using envGetVal it seems to have worked ok.

However when i add the same line to my .cdsinit andstart a new cadence session it does not sseem to have any effect. I'm sure my .cdsinit is being loaded as i have some print statements in there at the start and end of the .cdsinit.

Thanks

Stu

FYI: i am trying to set the default label size for pins for when i generate/update with XL

 

 

 

  • Cancel
Parents
  • stuso
    stuso over 13 years ago

     Hi guys, i should point out i had a typo in my .cdsinit testing, i was printing the same variable twice, it should have read:

        ;; TEST
        labelSizeOne=envGetVal( "layout" "labelHeight" )
        printf("label height one is:%L\n" labelSizeOne)
        ;;END TEST

    envSetVal( "layout" "labelHeight" 'float 0.05 )

        ;; TEST
        labelSizeTwo=envGetVal( "layout" "labelHeight" )
        printf("label height two is:%L\n" labelSizeTwo)
        ;;END TEST

     And now CDS.log shows:

    label height one is:0.2
    label height two is:0.05

    However i ave just noticed in my CDS.log that this line follows the above:

    \o loading vars from .cdsenv for tool layout

    Surely this means my changes are being overwritten by the tools .cdsenv?

    I am now questioning my undestanding of ordering sequence of .cdsinit & .cdsenv but perhaps this deserves a new topic discussion of its own.

    Thanks

    Stu

     

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • stuso
    stuso over 13 years ago

     Hi guys, i should point out i had a typo in my .cdsinit testing, i was printing the same variable twice, it should have read:

        ;; TEST
        labelSizeOne=envGetVal( "layout" "labelHeight" )
        printf("label height one is:%L\n" labelSizeOne)
        ;;END TEST

    envSetVal( "layout" "labelHeight" 'float 0.05 )

        ;; TEST
        labelSizeTwo=envGetVal( "layout" "labelHeight" )
        printf("label height two is:%L\n" labelSizeTwo)
        ;;END TEST

     And now CDS.log shows:

    label height one is:0.2
    label height two is:0.05

    However i ave just noticed in my CDS.log that this line follows the above:

    \o loading vars from .cdsenv for tool layout

    Surely this means my changes are being overwritten by the tools .cdsenv?

    I am now questioning my undestanding of ordering sequence of .cdsinit & .cdsenv but perhaps this deserves a new topic discussion of its own.

    Thanks

    Stu

     

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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