• 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. axlCancelEnterFun

Stats

  • Replies 1
  • Subscribers 158
  • Views 12410
  • Members are here 0
More Content

axlCancelEnterFun

archive
archive over 17 years ago

Here is two small routines to assign net to dummy shapes. aas is to assign Static shapes aad is to assign Dynamic shapes It works, but I want both "stoppable" with a popup menu. aas : stop works after two popup Stop calls. aad : stop does not make what I want. it stops the active shape and goes to next one. I have to stop as many time as shapes in the SelSet. How to write this to completely exit the routine? Thanks in advance for any help.


Originally posted in cdnusers.org by willbi
auto_assign_shape.il
  • Sign in to reply
  • Cancel
  • archive
    archive over 17 years ago

    Hi, Here is some alternative code. Note the use of the event mask. The only way to get out of a foreach loop is to use return() - this necessitates use of a prog andwill stop the loop through your shapes after you have used "stop". After you have changed the net on each shape its dbid will change. This makes de-highlighting difficult (but not impossible). Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    auto_assign_shape.il
    • 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