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
↧