• 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. skill for check symbols outline overlapping

Stats

  • State Suggested Answer
  • Replies 2
  • Answers 1
  • Subscribers 159
  • Views 4250
  • Members are here 0
More Content

skill for check symbols outline overlapping

ivy372
ivy372 over 1 year ago

Hi all,

I want to auto check all symbols placement on the board.

Each of the symbol's outline can't overlapping.

How can I use skill to achieve results? 

Thanks~

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    0 DavidJHutchins over 1 year ago

    Below is a simple skill routine that checks for overlapping place_bound shapes...

    procedure(Check_Overlap()
    let((ShapeLayer Shapes Shape)
    (ShapeLayer = "PACKAGE GEOMETRY/PLACE_BOUND_TOP")
    axlVisibleDesign(nil)
    axlVisibleLayer(ShapeLayer t)
    axlSetFindFilter(?enabled list("noall" "shapes" ) ?onButtons list("noall" "shapes" ))
    (axlAddSelectAll)
    (Shapes = axlGetSelSet())
    (axlClearSelSet)
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    while( and(Shape listp(Shapes))
    foreach( Remaining Shapes
    when( axlGeoIsBoxOverlap(Shape->bBox Remaining->bBox)
    axlMsgPut("Overlap between %s and %s" Shape->parent->refdes Remaining->parent->refdes)
    )
    )
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    )
    (ShapeLayer = "PACKAGE GEOMETRY/PLACE_BOUND_BOTTOM")
    axlVisibleDesign(nil)
    axlVisibleLayer(ShapeLayer t)
    axlSetFindFilter(?enabled list("noall" "shapes" ) ?onButtons list("noall" "shapes" ))
    (axlAddSelectAll)
    (Shapes = axlGetSelSet())
    (axlClearSelSet)
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    while( and(Shape listp(Shapes))
    foreach( Remaining Shapes
    when( axlGeoIsBoxOverlap(Shape->bBox Remaining->bBox)
    axlMsgPut("Overlap between %s and %s" Shape->parent->refdes Remaining->parent->refdes)
    )
    )
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    )
    )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • DavidJHutchins
    0 DavidJHutchins over 1 year ago

    Below is a simple skill routine that checks for overlapping place_bound shapes...

    procedure(Check_Overlap()
    let((ShapeLayer Shapes Shape)
    (ShapeLayer = "PACKAGE GEOMETRY/PLACE_BOUND_TOP")
    axlVisibleDesign(nil)
    axlVisibleLayer(ShapeLayer t)
    axlSetFindFilter(?enabled list("noall" "shapes" ) ?onButtons list("noall" "shapes" ))
    (axlAddSelectAll)
    (Shapes = axlGetSelSet())
    (axlClearSelSet)
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    while( and(Shape listp(Shapes))
    foreach( Remaining Shapes
    when( axlGeoIsBoxOverlap(Shape->bBox Remaining->bBox)
    axlMsgPut("Overlap between %s and %s" Shape->parent->refdes Remaining->parent->refdes)
    )
    )
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    )
    (ShapeLayer = "PACKAGE GEOMETRY/PLACE_BOUND_BOTTOM")
    axlVisibleDesign(nil)
    axlVisibleLayer(ShapeLayer t)
    axlSetFindFilter(?enabled list("noall" "shapes" ) ?onButtons list("noall" "shapes" ))
    (axlAddSelectAll)
    (Shapes = axlGetSelSet())
    (axlClearSelSet)
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    while( and(Shape listp(Shapes))
    foreach( Remaining Shapes
    when( axlGeoIsBoxOverlap(Shape->bBox Remaining->bBox)
    axlMsgPut("Overlap between %s and %s" Shape->parent->refdes Remaining->parent->refdes)
    )
    )
    (Shape = car(Shapes))
    (Shapes = cdr(Shapes))
    )
    )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • ivy372
    0 ivy372 over 1 year ago in reply to DavidJHutchins

    Hi David,

    Thanks so much~

    I will try this code~

    • 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