• 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 Scripting - Skill
  3. How to select object based on shape

Stats

  • Replies 9
  • Subscribers 17
  • Views 13875
  • Members are here 0
More Content

How to select object based on shape

SAKTHIVEL R
SAKTHIVEL R over 6 years ago

Hi All,

        I want to select the object(Pin, Via & Symbol) based on the shape. please help on this.

Regards,

Sakthivel

  • Cancel
  • Sign in to reply
Parents
  • eDave
    eDave over 6 years ago

    Please elaborate. It's hard to know what you mean from your question.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • SAKTHIVEL R
    SAKTHIVEL R over 6 years ago in reply to eDave

    Hi Dave,

                 Thanks for your response, I Want to select object based on static or dynamic shape covered area.

    Please refer below image,

    If I select VIN_5V shape it act as a selection boundary and able to select Symbols, Pins and Vias in that area.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • SAKTHIVEL R
    SAKTHIVEL R over 6 years ago in reply to B Bruekers

    Hi Bruekers,

                     "axlAddSelectPoly" this axl command is not available in Allegro17.2

    Please advise any other command for this.

    Please see my program below.

    axlVisibleDesign(nil)
    axlVisibleLayer(strcat("VIA CLASS/" axlConductorTopLayer()) t)
    axlVisibleLayer("SUBSTRATE GEOMETRY/SOLDERMASK_TOP" t)
    axlVisibleUpdate(t)

    axlSetFindFilter(?enabled '("noall" "Shapes") ?onButtons '("noall" "Shapes"))
    axlAddSelectAll()
    shapeid = axlGetSelSet()
    axlClearSelSet()

    one = car(shapeid)

    axlSetFindFilter(?enabled '("noall" "Fingers") ?onButtons '("noall" "Fingers"))
    axlAddSelectBox(one->bBox)
    l_sel = axlGetSelSet()
    axlClearSelSet()

    if any shape without finger how to eliminate that.

    Regards,

    Sakthivel.R

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 6 years ago in reply to SAKTHIVEL R

    The axlAddSelectPoly() command is introduced in one of the latest hotfixes, in HF050 it is for sure available. 

    Bram

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • SAKTHIVEL R
    SAKTHIVEL R over 6 years ago in reply to B Bruekers

    Thanks for your quick response, I am using HF049. I will install the latest hotfix.

    Sakthivel

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • hongjing
    hongjing over 6 years ago in reply to B Bruekers

    Hi Bruekers, could you show me where can I get the introduction about axlAddSelectPoly()? thank you. I am writing a code that should use this command.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • B Bruekers
    B Bruekers over 6 years ago in reply to hongjing

    More than this I dont know:

    arglist('axlAddSelectPoly) -> (l_poly \@optional g_checkVoids (trapEnable 't) "ggg")

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • B Bruekers
    B Bruekers over 6 years ago in reply to hongjing

    More than this I dont know:

    arglist('axlAddSelectPoly) -> (l_poly \@optional g_checkVoids (trapEnable 't) "ggg")

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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