• 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. Unable to change the environment value of quickalign

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 142
  • Views 6325
  • 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

Unable to change the environment value of quickalign

Tejaskill
Tejaskill over 2 years ago

Hi all,

I am using ICADVM18.1
I know about changing the environment variables using envSetVal command, but I am unable to change the environment variable of quick align using.
envSetVal("layout" "quickAlignSpacingType" 'cyclic "user")
After executing the above line, I am unable to change the quick align spacing type to user in the current window.
I also tried hiGetCurrentWindow()->quickAlignSpacingType->"user", but it was also not helping.

Can anyone help me what I am missing.

Thanks,
Teja.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Teja,

    I just tried this in IC6.1.8-64b.500.32 (I didn't have ICADVM18.1 to hand) and changing the environment variable does have an effect on the quick align right mouse button menu and options form. Can you clarify:

    1. What exactly doesn't work when you change the env var?
    2. Which sub-version you're using (calling getVersion(t) will report that)?

    Then I can do some checks in the precise version you're using. I found some change requests for issues with this which were fixed in IC6.1.4 and then a specific issue fixed in an IC6.1.7 hotfix, but 18.1/6.1.8 is well beyond that.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tejaskill
    Tejaskill over 2 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thanks for the reply,

    1. I need to Toggle the offset in Align Form >>> From User spacing to No spacing, as shown in figure.

     


    2. I am using sub-version ICADVM18.1-64b.500.7

    I have also checked in IC6.1.8-64b.500.7, Still I am not able to achieve the result.

    My code I am using is,

    tk1=hiCreateButton(?name 'TK
                                    ?callback "qau()"
                                    ?buttonText "User Spacing"
                                    )
    tk2=hiCreateButton(?name 'TK1
                                    ?callback "qau1()"
                                    ?buttonText "No Spacing"
    tkform=hiCreateAppForm(?name 'Quick Align
                                              ?fields list(tk1 tk2)
                                              ?formTitle "Align"
                                              )
    procedure(qau() envSetVal("layout" "quickAlignSpacingType" 'cyclic "user"))
    procedure(qau1() envSetVal("layout" "quickAlignSpacingType" 'cyclic "none"))
    hiDisplayForm(tkform)

    When I click user button in my form, I should have user spacing as offset in align form and same for no spacing.
    Could you please help me.

    Thanks,
    Teja.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RobMan
    RobMan over 2 years ago in reply to Tejaskill

    I checked in ICADVM18.1-64b.500.7 and it doesn't appear to work. Look like you might need to move to a more recent version.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RobMan
    RobMan over 2 years ago in reply to Tejaskill

    FYI: It's fixed in ISR13

    • 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