• 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. How to create draw region button like the one used in the...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 2730
  • 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

How to create draw region button like the one used in the Area and Density calculator

Betoo
Betoo 10 months ago

Hello,

I would like to create a button for my form that prompts the user to click on a cellview and draw a rectangle bounding box, exactly like the one used in the Area and Density Calculator. Can someone please help me with this?

Thanks!

Beto

  • Cancel
  • Betoo
    Betoo 10 months ago

    Forgot to include a snip of the button. Here it is. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • p94todorov
    p94todorov 10 months ago in reply to Betoo

    Hi Beto,

    one way to do is through the callback of the button you create. You will need to bring up the desired cellView to focus and then call an enter function. In your case enterBox should do the trick. You can play around with the various parameters of the enter functions to control the outputs. The simple way will be to assign the return value of the enter function to a variable and do whatever you need within the callback.

    Regards,
    Petar

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Betoo
    Betoo 7 months ago in reply to p94todorov

    Thank Petar,

    enterBox along with Hilights accomplished this task

    Thanks,

    Beto

    • 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