• 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. Dropping via at current location!!

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 14332
  • 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

Dropping via at current location!!

bharath006
bharath006 over 13 years ago

Hi,

   I am trying to drop a via with 1X2 (row,column) at the mouse pointed location. To start with I have written this code .

procedure(dropvia()
cv=hiGetCurrentWindow()
cvid=geGetEditCellView()
pt=geWindowToEditPoint(cv hiGetPoint(cv))
dbCreateRect(cvid list("VIA "drawing") list(car(pt)-0.03:cadr(pt)-0.03 car(pt)+0.03:cadr(pt)+0.03))
)

Later I realised that, this is not  I am looking for. I wanted to create a via, the one similar to leHiCreateVia() which opens a form and we enter the values.

I tried with dbCreateInst and select the appropriate instance like M2_M1. But is there a way to create via to the one similar to leHiCreateVia() form??

Please give me a appropriate command to plug in my code.

In case, If there is way a to get above one, how do we return the name of the via definition (eg:M1_M2,M2_M3), so that I can pass this name to change it to next level via. Say I will select M1_M2 and press a key to change it to M2_M3

Thanks,

Bharath

  • Cancel
Parents
  • bharath006
    bharath006 over 13 years ago

    Hi Andrew,

      In this case, I would want to know the slected via name and co-ordinates so that I can re-create the via in that particular location by deleting the current one. Can you please let me know how to get name of the via

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • bharath006
    bharath006 over 13 years ago

    Hi Andrew,

      In this case, I would want to know the slected via name and co-ordinates so that I can re-create the via in that particular location by deleting the current one. Can you please let me know how to get name of the via

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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