• 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. Error when remove voids from dynamic shape

Stats

  • Replies 1
  • Subscribers 17
  • Views 9519
  • Members are here 0
More Content

Error when remove voids from dynamic shape

shuchen2
shuchen2 over 6 years ago

I am trying to remove some voids on dynamic filled shapes when some criteria is met. I have try two approaches:

1. extract the polygons from the voids and build shapes from these polygons (expand a little bit for overlap). Then merge these shapes. But this is slow.

2. I would like to use the axlDBOpenShape, axlShapeDeleteVoids, and axlDBCloseShape to delete these voids. But I get the warning below.

*WARNING* (axlShapeDeleteVoids): Cannot delete voids in an auto-generated shape 

Then I trie to axlDBOpenShape(i_shape->shapeBoundary) to open the boundary shape instead, then the operation would delete the whole shape. 

Any ideas? Thanks!!!!!

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

    Updates:

    Solved. I just found out the dbid is removed after the shape is opened. And the voids' dbids are also removed.

    Then I cannot close the original shape dbid, and cannot delete the original voids' dbids. Operations should be set after the shape is opened.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • shuchen2
    shuchen2 over 6 years ago

    Updates:

    Solved. I just found out the dbid is removed after the shape is opened. And the voids' dbids are also removed.

    Then I cannot close the original shape dbid, and cannot delete the original voids' dbids. Operations should be set after the shape is opened.

    • 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