• 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. Deleting Degassing Voids Using Skill - axlShapeEraseDeg...

Stats

  • State Verified Answer
  • Replies 7
  • Subscribers 18
  • Views 2322
  • Members are here 0
More Content

Deleting Degassing Voids Using Skill - axlShapeEraseDegassingHole

AV202505198123
AV202505198123 3 months ago

Hi,
I'm trying to delete degas voids that are auto generated by Shape Degassing tool in APD using Skill script, for which i'm using this function axlShapeEraseDegassingHole , the arguments required are shape dbid and location of the holes, 

parentShape = void->parent
eraseResult = axlShapeEraseDegassingHole(parentShape ?location location) 

but the result is always nil. can anyone give an example script to do this operation.

  • Cancel
  • Sign in to reply
Parents
  • mahimag
    0 mahimag 2 months ago

    Hi AV202505198123 , this SKILL API is for the Adv Degassing holes. If you are working on the regular degassing holes, try selecting them using SKILL selection commands.

    turn on only boundary from color/visibility

    axlSetFindFilter(?enabled '("shapes") ?onButtons '("shapes"))
    axlSelect()
    shape=car(axlGetSelSet())
    void1=car(shape->voids)
    axlShapeDeleteVoids(void1)

     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • AV202505198123
    0 AV202505198123 2 months ago in reply to mahimag

    Hi mahimag , Yes i'm using it to delete these Advanced degassing holes which were placed on the CONDUCOTR Class, using the shape degassing(image attached) tool, if i use axlShapeDeleteVoids() it gives out a warning(image attached). This will only work for Manually placed voids.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mahimag
    +1 mahimag 1 month ago in reply to AV202505198123

    Hi, Correct API Usage: The axlShapeEraseDegassingHole function is designed for advanced degassing holes, not regular ones. For regular degassing holes, the axlShapeDeleteVoids API should be used.

    Recommended Code:
    axlCmdRegister("del_degas" 'del)
    procedure(del()
    axlSetFindFilter(?enabled '("shapes") ?onButtons '("shapes"))
    axlSelect()
    shape = car(axlGetSelSet())
    void_list = shape->voids
    axlShapeDeleteVoids(shape) ; Pass shape's boundary dbid


    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • mahimag
    +1 mahimag 1 month ago in reply to AV202505198123

    Hi, Correct API Usage: The axlShapeEraseDegassingHole function is designed for advanced degassing holes, not regular ones. For regular degassing holes, the axlShapeDeleteVoids API should be used.

    Recommended Code:
    axlCmdRegister("del_degas" 'del)
    procedure(del()
    axlSetFindFilter(?enabled '("shapes") ?onButtons '("shapes"))
    axlSelect()
    shape = car(axlGetSelSet())
    void_list = shape->voids
    axlShapeDeleteVoids(shape) ; Pass shape's boundary dbid


    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • zpofrp
    0 zpofrp 1 month ago in reply to mahimag

    run this code

    void_list = shape->voids

    ^

    SYNTAX ERROR found at line 9 column 19 of file del_degas.il

    *Error* lineread/read: syntax error encountered in input

    *Error* eval: unbound variable - shape

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mahimag
    0 mahimag 1 month ago in reply to zpofrp

    Thanks for pointing out zpofrp , there was a typo in my code, it should be void_list=shape->voids

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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