• 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. SKILL : Virtuoso-L : how to track mouse pointer movemen...

Stats

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

SKILL : Virtuoso-L : how to track mouse pointer movement

Girishankar
Girishankar over 12 years ago

Andrew, All,

 I've looked around and experimented, but couldn't find a way to track mouse pointer movement and use it in a loop to do some function.

For example: If one were to implement the stretch function (i.e. mimic leHiStretch) or to implement a custom ruler function, how could that be done? The enterPoints is a great way to input 2 points - addPointProc and doneProc can be used to start and end, but any ideas on how to track the mouse movement after the first point is entered and keep updating a shape as and when the mouse moves and to stop when the second point is added (clicked)?

Tried hiGetDbuPoint in a while(1) type of a loop, but it seems to go crazy and am unable to get a smooth stretch function..

The main intent was to try a custom leHiStretch (with a slightly modified functionality - to say automatically stop stretching beyond a certain point, or to stretch few other edges in addition that weren't actually selected, etc.).

Thank You,

GS.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    You're effectively after some kind of custom rubber-banding function. Well, the only public ones that are available are the enter.* family (e.g. enterPath, enterBox, enterLine etc - you can't build your own at the SKILL level). 

    Anything else, please contact customer support - it may require an enhancement.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Girishankar
    Girishankar over 12 years ago

    Hmm.. Ok Andrew, Thanks for the prompt response ! 

    • 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