• 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. Partial v. Full select in the layout - how does geTogglePartialSelect...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 3976
  • 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

Partial v. Full select in the layout - how does geTogglePartialSelect() work?

DanielDing
DanielDing over 7 years ago

Folks,

This has been having me puzzled for a while..

In the layout, there are 2 types of selections: partial and full, which can be set at least in 3 ways:

(1) envSetVal("layout" "partialSelect" t/nil)

(2) geXLSelectForm->geSelectionMode->value = "Full"

(3) geTogglePartialSelect(), which is equivalent to pressing F4 on keyboard

Question is, what is eventually changed by these different approaches, so that the layout editor knows whether to use partial or full selection?

I tried envGetVal("layout" "partialSelect") and envGetVal("graphic" "partialSelect"), but as their values are changed by (1) above, (2) and (3) does not change their values..

This makes it impossible to infer the current selection mode inside my custom skill program.

Please kindly help!

Daniel 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Daniel,

    The way that the tool knows is via window property, partialSelect. So you can use hiGetCurrentWindow()~>partialSelect to determine the current state (you can also change the state via this property). The cdsenv variable is used to determine what the partialSelect on the window should be set to when a new window is opened. 

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • DanielDing
    DanielDing over 7 years ago in reply to Andrew Beckett

    Awesome, this works perfectly! Thanks much, Andrew.

    -Daniel

    • 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