• 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. accessing leWeChooseLayerForm

Stats

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

accessing leWeChooseLayerForm

RK56
RK56 over 7 years ago

Hi Guys,

Is there any way to include leWeChooseLayerForm in our custom scripts? I want the user to pick a LPP when the user clicks a point in the layout canvas. I can write the skill function for this but I came across leWeChooseLayerForm. 

Is there any inbuilt function to access this LPPform?

-Ramakrishnan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago
    Hi Ramakrishnan,

    I wouldn’t do that (I’m not sure which version you’re using - but I’m not sure that form is necessarily guaranteed to exist, nor exists in all versions).

    One approach would be to call leHiLayerTap() - this will prompt you if there’s ambiguity of the layer where you click, and then set the current layer (retrievable with leGetEntryLayer() ) to be whatever you choose.

    Regards,

    Andrew.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RK56
    RK56 over 7 years ago

    Thanks Andrew for the response. How do I call leHiLayerTap() on a specific point? Is there anything like leLayerTap(?pt enterPoint())

    In the end I need to save both the point and LPP

    -Ramakrishnan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago
    Ramakrishnan,

    Yes. Use preXY(thePoint) before calling leHiLayerTap(). For example:

    point=enterPoint()
    preXY(point)
    leHiLayerTap()

    Andrew.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RK56
    RK56 over 7 years ago

    Thanks Andrew. preXY() is something new that I learnt here.

    • 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