• 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. delete shape on the basis of coordinates

Stats

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

delete shape on the basis of coordinates

bloodwayn
bloodwayn over 14 years ago

hi

is there any way to delete a rectangle on the basis of the coordinates? so i know where the rectangle is but i can't find a function or so where i can say: delete the rectangle( or figure) on the position x,y (specially xMin,yMin xMax, yMax for rectangle).
so i wouldn't search the whole layout for all rectangles and compare the coordinates until i found the right one.

regards
philip

  • Cancel
  • Zach
    Zach over 14 years ago

    I'm no expert here but it seems like DJSelectAreaPlus() should do the job.  Example:

    \a DJSelectAreaPlus()
    \i 0:12250
    \a addPoint(hiGetCommandPoint())
    \i 2500:19950

    Regards, Zach

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Hi Zach,

    That's not a Cadence function; I assume it's part of some customisation at your company. The way I'd do it is to use dbGetTrueOverlaps(cvId list(xy xy)) (where xy is the point you want), and then use dbDeleteObject() on the results. Or in a graphical environment you could do a selection (e.g. using a ge.*Select type function) and then delete the selected objects - but I'd go for a solution which works without needing the windows to be open to make it more flexible.

    Regards,

    Andrew.

    • 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