• 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. Select Outside of box

Stats

  • Replies 5
  • Subscribers 160
  • Views 10903
  • Members are here 0
More Content

Select Outside of box

atoddrich
atoddrich over 4 years ago

I have entities outside of my title block that are causing my database size to be huge. 

I found some but cannot get them all so I cannot change my drawing extents.

In other systems I have used there is a select outside of box option.

You drag a box around your design and everything OUTSIDE of the box is selected then you hit delete.

Anyone have a way to do this in Allegro?

  • Sign in to reply
  • Cancel
Parents
  • AvengerThanos
    AvengerThanos over 4 years ago

    In the color dialog box enable all colors so that you can find where the objects are then, in general edit enable all items under the find filter. With these settings drag a window for selection and delete the objects outside the title block.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • atoddrich
    atoddrich over 4 years ago in reply to AvengerThanos

    Thanks for your reply.

    I already tried this, even when I turn everything on the workspace is so huge that I have to zoom waaaaaay out and you can't see anything.

    I select around the edges even though I can't see anything and I got a bunch of them but the mouse kind of bounces back on the edge.

    I think there are just a few on the outer fringes left.

    It's either by product of translation from Pads or DXF's brought in with the wrong settings.

    The design space is 3,088 x 9,899 inches and the pcb file size is 130,000 kb.

    The blues spec in the corner is my actual C size drawing and I could zoom out one more click.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins over 4 years ago in reply to atoddrich

    I just wrote a simple skill routine to do this, the skill is shown below:

    procedure(DelAllOutsideBox()
    let(()
    (axlSetFindFilter ?enabled list("all" "nodrcs" "invisible") ?onButtons list("all" "nodrcs"))
    (axlAddSelectAll)
    (axlSubSelectBox)
    (axlDeleteObject (axlGetSelSet))
    )
    )

    Then in Allegro I ran:

    skill load "delallout.il"

    skill DelAllOutsideBox()

    followed by 'save_as' and 'quit'

    Below is the jrl file entries:

    \i (00:00:34) skill 'load "delallout.il"'
    (00:00:34) t
    \i (00:00:54) skill DelAllOutsideBox()
    \i (00:01:01) pick grid -1810.82 4445.00
    \t (00:01:01) last pick: -1810.82 4445.00
    \i (00:01:04) pick 5654.26 -1218.50
    \t (00:01:04) last pick: 5654.26 -1218.50
    (00:01:04) t
    \i (00:01:10) save_as
    \i (00:01:19) fillin "empty.brd"
    \i (00:01:19) generaledit
    \i (00:01:23) quit

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • DavidJHutchins
    DavidJHutchins over 4 years ago in reply to atoddrich

    I just wrote a simple skill routine to do this, the skill is shown below:

    procedure(DelAllOutsideBox()
    let(()
    (axlSetFindFilter ?enabled list("all" "nodrcs" "invisible") ?onButtons list("all" "nodrcs"))
    (axlAddSelectAll)
    (axlSubSelectBox)
    (axlDeleteObject (axlGetSelSet))
    )
    )

    Then in Allegro I ran:

    skill load "delallout.il"

    skill DelAllOutsideBox()

    followed by 'save_as' and 'quit'

    Below is the jrl file entries:

    \i (00:00:34) skill 'load "delallout.il"'
    (00:00:34) t
    \i (00:00:54) skill DelAllOutsideBox()
    \i (00:01:01) pick grid -1810.82 4445.00
    \t (00:01:01) last pick: -1810.82 4445.00
    \i (00:01:04) pick 5654.26 -1218.50
    \t (00:01:04) last pick: 5654.26 -1218.50
    (00:01:04) t
    \i (00:01:10) save_as
    \i (00:01:19) fillin "empty.brd"
    \i (00:01:19) generaledit
    \i (00:01:23) quit

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • atoddrich
    atoddrich over 4 years ago in reply to DavidJHutchins

    I couldn't get this to work. I create a file in my env folder called delallout.il and copied this into it

    procedure(DelAllOutsideBox()
    let(()
    (axlSetFindFilter ?enabled list("all" "nodrcs" "invisible") ?onButtons list("all" "nodrcs"))
    (axlAddSelectAll)
    (axlSubSelectBox)
    (axlDeleteObject (axlGetSelSet))
    )
    )

    In Allegro I entered into the command line

    skill load "delallout.il"

    Nothing happens

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • atoddrich
    atoddrich over 4 years ago in reply to atoddrich

    Ah I did get it to work by then typing in skill DelAllOutsideBox()

    I was also able to re-size my workspace too.

    Thank you!

    • 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