• 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 choose the component which in a partition with skill...

Stats

  • State Verified Answer
  • Replies 5
  • Subscribers 20
  • Views 3094
  • Members are here 0
More Content

How to choose the component which in a partition with skill code?

kobe882424
kobe882424 over 2 years ago

How to choose the component which in a partition with skill code?

  • Cancel
  • Sign in to reply
Parents
  • JuanCR
    0 JuanCR over 2 years ago

    Hi Kobe,

    I believe what you're looking for is something like this: 

    axlSetFindFilter(?enabled '(noall shapes) ?onButtons '(noall shapes)); configures the Find filter to only allow selection of shapes.
    axlSelect(); After executing this line, you can click on the shape that you want to select
    shapeID=car(axlGetSelSet()); In this variable you'll store the database ID of the shape object that you clicked on

    The above code is just and example of how to select a shape, but you can apply this to any component in a design (symbols, vias, lines, etc.)

    Let me know if this is what  you're looking for. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kobe882424
    +1 kobe882424 over 2 years ago in reply to JuanCR

    Thanks JuanCR.

    I got the reason and solution to the problem after reading the guideline of skill.

    the reason is that the pcb was completed  by a team. so the list(?enable)  needs to add "DYNTHEMALS" like this:

    axlSetFindFilter(?enabled `("noall"   "components"  "DYNTHEMALS") ?onButtons `("noall"  "components" )) 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Reply
  • kobe882424
    +1 kobe882424 over 2 years ago in reply to JuanCR

    Thanks JuanCR.

    I got the reason and solution to the problem after reading the guideline of skill.

    the reason is that the pcb was completed  by a team. so the list(?enable)  needs to add "DYNTHEMALS" like this:

    axlSetFindFilter(?enabled `("noall"   "components"  "DYNTHEMALS") ?onButtons `("noall"  "components" )) 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • 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