• 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. Print the X Y coordinates of the mouse click point in c...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 14348
  • 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

Print the X Y coordinates of the mouse click point in ciw

Cadence Skill
Cadence Skill over 5 years ago

HI Sir,

 I wanted to X Y of the mouse click in the layout to  be printed in CIW window.

I tried with leHiShowCoord command , but I am not getting how print in CIW.

I searched in TechForms, but couldn't found.be printed i

Thanks

Guru

  • Cancel
  • skillUser
    skillUser over 5 years ago

    Hi Guru,

    Every mouse click in the layout is already recorded - take a look at the CDS.log file for each point as it is entered, with the command, for example:

    
    \a addPoint(hiGetCommandPoint())
    \i 0.2535:0.588
    \r t
    \r t
    \a hiZoomAbsoluteScale(hiGetCurrentWindow() 0.9)
    \r t
    \a mouseSingleSelectPt()
    \i 0.137:1.101
    \r t
    

    If you really want to print every left-click in the CIW then you can change the bindkey setting for the left-mouse click operation, something like this:

    
        procedure(printPoint() printf("=> %L\n" hiGetCommandPoint()))
        hiSetBindKey("Layout" "None<Btn1Down>" "printPoint() mouseSingleSelectPt()")
        hiSetBindKey("Layout" "None<Btn1Down>EF" "printPoint() mouseAddPt()") 

    You would also need to probably do the same for the Shift + left-click and other combinations.

    Hopefully this helps you.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Cadence Skill
    Cadence Skill over 5 years ago in reply to skillUser

    Thanks Lawrence Slight smile

    • 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