• 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. Allegro X PCB Editor
  3. Circle area selection?

Stats

  • Replies 3
  • Subscribers 159
  • Views 12880
  • Members are here 0
More Content

Circle area selection?

luanvn81
luanvn81 over 11 years ago
Hi all !

I want to get all pins, vias, clines, vois  in a circle selection area,  but I don't know any way to do that, I only  know the function checking in box selection area ( axlSingleSelectBox).  

My purpose : check in a circle selection area if there is any item(pins, vias, clines...) or not?

How can I do that, please help me, my allegro is ver16.3


Tks,
Luan
  • Sign in to reply
  • Cancel
  • eDave
    eDave over 11 years ago

    There is no function to do that. The way I would approach it is:

     

    • Use the cursor dynamics functions to allow the user to select a circle. Convert this circle to a polygon.
    • Select all the objects in the bounding box defined by the extents of the circlular polygon.
    • Step through each object, creating polygons from it, and use axlPolgonOperation to AND them with the circular polygon. If the result is not nil some part of the object is in the circle.
    Dave

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • luanvn81
    luanvn81 over 11 years ago

     Hi eDave!

       Thank for your suggestion, basing on your idea, I have checked elements by  circle selection area in another ways.

    Tks,

    Luan.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 11 years ago
    That's great. Feel free to publish your code...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

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