• 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. how to create the filled shape for selected Finger?

Stats

  • Replies 4
  • Subscribers 159
  • Views 13256
  • Members are here 0
More Content

how to create the filled shape for selected Finger?

krthik15
krthik15 over 7 years ago

 Hi,

When I select a Finger, how can I create a fill shape on "Substrate Geometry/outline" the same  size of the selected Finger using skill?

I have used following code.it shows invalid database argument

axlSetFindFilter(?enabled `("noALL" "fingers") ?onButtons `("noALL" "fingers"))

axlSelcet()

Finger = car(axlGetSelSet())

axlPolyFromDB(Finger)

Skill > Finger~>?
((parentGroups symbolEtch branch pads definition
    isMirrored isThrough name objType parent
    net rotation mirrorType startEnd testPoint
    xy readOnly bBox prop fixedByTestPoint
    )
)

  • Sign in to reply
  • Cancel
  • krthik15
    krthik15 over 7 years ago

    Anyone please help me on this

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • leonlee
    leonlee over 7 years ago

    Hi, you could try this code:

    axlDBCreateShape( car( axlPolyFromDB( Finger )), t, "Substrate Geometry/outline")

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krthik15
    krthik15 over 7 years ago in reply to leonlee

    Thanks leonlee!

    Actually the polygon is not created for finger

    code1:

    axlSetFindFilter(?enabled `("noALL" "fingers") ?onButtons `("noALL" "fingers"))

    axlSelect()

    Finger = car(axlGetSelSet()) axlPolyFromDB(Finger)  

    W- *WARNING* (axlPolyFromDB): No match for subclass name - "ETCH/TOP"

    code2:

    axlSetFindFilter(?enabled `("noALL" "fingers") ?onButtons `("noALL" "fingers"))
    axlSelect()
    Finger = axlGetSelSet()
    axlPolyFromDB(Finger)

    W- *WARNING* (axlPolyFromDB): Invalid database id argument - (dbid:247648312)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krthik15
    krthik15 over 7 years ago in reply to krthik15

    Following code will create the polygon for selected Finger

    axlSetFindFilter(?enabled `("noALL" "fingers") ?onButtons `("noALL" "fingers"))

    axlSelect()

    Finger = car(axlGetSelSet())

    F_layer = car(Finger->startEnd) 

    Finger_poly = axlPolyFromDB(Finger ?layer F_layer)

    • 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