• 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. PCB Design
  3. Maintain "Persistence" of Find after done command is completed...

Stats

  • Locked Locked
  • Replies 23
  • Subscribers 165
  • Views 10122
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Maintain "Persistence" of Find after done command is completed while routing.

excellon1
excellon1 over 7 years ago

Hi.

When in EtchEdit mode or general edit mode for routing I notice that when routing is finished by selecting "Done" the settings in the find dialog
settings get blown out.

I am trying to maintain the relationship between adding etch with find after the fact. In other words after etch is added to the canvas I want the
find dialog to retain ( Cline Segs, Pins, Nets, Rats T etc ) so that those items are selectable for either info or basic editing after the fact.

Is there any way to accomplish this other than creating a macro for find entities ?.

Basic idea is to have find pre-checked for a given command such as routing etc.

Something like a "IF Done" at the macro level would be helpful too though I do not know if something like that is supported ? , Like execute
the macro, after done is selected as an action then the macro runs the part to check find dialog items.

Thanks Paul. 

  • Cancel
  • excellon1
    excellon1 over 7 years ago in reply to riklee

    Rik, indeed that works well and also allows one to tab key select based on the find option before deleting.
    You can also do a window select as well and take out everything in one go.

    I used to use funckey d  "delete; pick_to_grid -cursor; done" but have replaced it with yours.

    To help with routing and in particular for on the fly routing width changes I added in to the env file

    funckey x "prepopup ; pop dyn_option_select 'Options@:@Line width@:@New...' ;setwindow form.new_item"

    Seems to work good.

    Right now I have a function that just combines the toggle with adding a cline but will give your suggestion a try out.

    funckey w  "add connect; toggle; etch length"

    In 17.2 I noticed cadence has extended the UI menus so that a user can assign their own options via a right click Icon.
    It is kind of handy and can save a trip to the main menus. Only thing is it is based on available commands as far
    as I can see. It would be cool if there was something like having custom macros assignable to physical Icons in the UI.
    My thinking is to do this now you kind of have to go the Skill road.

    I may try combine your good example of toggle with something like the cursors. It would be neat to be able to toggle
    through all of them just using one key without having to go to user preferences.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Dale Peterson
    Dale Peterson over 7 years ago

    Hi,

    This may be what you are looking for. All you have to do is to setup keyboard commands to always toggle on what you want. You can stay and do everything in general edit mode. For your exact problem do the following-

    1. Define a key command to run "add connect". The example assigns the command to key "a" "funckey a  add connect" just add this to your ENV file 

    2. Define a key for "Done" or just hit the F6 key or right click done as well.

    The add connect will turn on the correct selections. "Done" will blank them out like you have mentioned

    If you like to toggle on more stuff. - record and save a macro file to be assigned to a key as well. 

    Cheers

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lcan
    lcan over 7 years ago

    Paul,

    I’m coming to this topic late… apologies. I had similar Find Filter concerns, along with others that I wanted to address. This might be more than what you want, but it builds off of Rik's input which I think he gave me a while back and I have found very helpful.

    -      Like you, I wanted the Find Filter defined with baseline settings dependent on the Application mode, and

    • to re-use the same keyboard keys for dissimilar functions across Application modes. (Impossible with a straight ENV file solution)
    • to define non Application mode Alias and Function keys depending on the Application Mode I invoked.
    • to quickly modify the Find Filter without having to see it, or mouse to the Find Filter.
    • to quickly switch to other Application modes
    • for Etch Edit mode baseline grid auto set to 2.5 mils, for Placement mode baseline grid auto set to 25 mils.

    I invoke this by putting the command name in the Allegro.men file.

    Bill

     

    axlCmdRegister("wtm_EtchKeyPad"  `wtm_ee_MKeyPad)

    procedure( wtm_ee_MKeyPad( )

               axlSetFunckey( "/" "prepopup; pop dyn_option_select 'Selection set@:@Select by Lasso'" t)

               axlSetFunckey( "*" "prepopup;pop neck" t)

               axlSetFunckey( "-" "prepopup;pop finish" t)

               axlSetFunckey( "Home" "prepopup; pop dyn_option_select '@:@Auto-interactive Delay Tune'" t)     

               axlSetFunckey( "Up" "prepopup; pop dyn_option_select '@:@Delay tune'" t)

               axlSetFunckey( "SUp" "prepopup; pop dyn_option_select '@:@Add vertex'" t)

               axlSetFunckey( "Pgup" "prepopup; pop dyn_option_select '@:@Add connect'" t)

               axlSetFunckey( "Right" "prepopup; pop dyn_option_select '@:@Scribble mode'" t)

               axlSetFunckey( "Down" "prepopup; pop singletrace" t)

               axlSetFunckey( "Pgdown" "prepopup; pop dyn_option_select @:@Move;" t)

               axlSetFunckey( "SPgdown" "prepopup; pop dyn_option_select '@:@Move vertex';" t)

               axlSetFunckey( "Insert" "prepopup; pop dyn_option_select @:@Delete" t)

               axlSetFunckey( "CInsert" "delete by rectangle " t)

               axlSetFunckey( "SInsert" "delete by line " t)

               axlSetFunckey( "End" "prepopup; pop dyn_option_select @:@Slide; setwindow form.mini; FORM mini extend_selection NO; setwindow pcb" t)

               axlSetFunckey( "CEnd" "prepopup; pop dyn_option_select @:@Slide; setwindow form.mini; FORM mini extend_selection YES; setwindow pcb" t)

               ; Non Application Mode Keys

               axlSetAlias( "F9" "phase_tune")

               axlSetFunckey( "F10" "tvision; setwindow form.find; FORM find Nets YES; setwindow pcb" t)

               ; Find Filter - Interactive Modification

               axlSetAlias( "f1" "replay C:/Cadence/SPB_17.2/share/local/pcb/scripts/ff_clines_only.scr")

               axlSetAlias( "f2" "replay C:/Cadence/SPB_17.2/share/local/pcb/scripts/ff_csegs_only.scr")

               axlSetFunckey( "Left" "settoggle CMD f1 f2; $CMD;" t)

              ; Keyboard Switch - Application Modes           

               axlSetAlias( "t1" "wtm_EtchKeyPad")

               axlSetAlias( "t2" "wtm_PlaceKeyPad")

               axlSetFunckey( "F12" "settoggle CMD t1 t2; $CMD" t)

               ; Set a grid for working in Etch edit mode.

               grid = axlDBGridGet("TOP")

               grid->name = 'all

               grid->xGrids = 2.500

               grid->yGrids = 2.500

               axlDBGridSet(grid)            

               axlShell( "etchedit" )

               ; Find Filter - Baseline Settings

         axlShellPost( "setwindow form.find; FORM find all_off; FORM find ratsnests YES; FORM find Pins YES; FORM find Vias YES; FORM find cline_segs YES; setwindow pcb" )

    ); procedure

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • excellon1
    excellon1 over 7 years ago in reply to Dale Peterson

    Hi Dale, thanks for the tip. I had macros setup but the main issue I had was with the "Done" When cadence means Done - "Your Done" Slight smile

    I do have a better handle on things now in particular the use of the modes.

    Thanks  Paul. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • excellon1
    excellon1 over 7 years ago in reply to lcan

    Bill in looking at your file, it strikes me that it is kind of like a Skill command that gets loaded, would that be right ?. I like the concept of what you have seems good and a time saver.

    Thanks Paul.

    • Cancel
    • Vote Up 0 Vote Down
    • 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