I am using the funckey "code below" and now with v16.5 a "Assign Pattern" window is popping up. I am trying to either set the pattern or disable it completely so my "F" key is more effective.
Thanks in advance for the reply :)
funckey F "generaledit; prepopup ; pop dyn_option_select 'Selection set@:@Clear all selections' ; set prompt ; prompt 'Enter Ref Des (on next step click pattern to keep it highlighted' ; refdes $prompt ; zoom selection; hilight ;generaledit "
The Assign Pattern window is showing up because you have a selected component when the command "hilight" is ran. If you remove the "; hilight" from the funckey command you should be good to go. The Highlight command (Hilight) has changed in 16.5 and now support pattern highlighting instead of just a single highlight stripe "candy stripe", this is why you are seeing the Assign Pattern window that you haven't seen previously.
Hope this helps,Mike Catrambone
If I remove the Hilight, then the component does not stay highlighted. My use case is to "F" which highlights part and jumps. And stays highlighted while I do another "F"
I was wondering why you had "hilite" in the command in the first place. It works for me without the "hilite". Once I run the command it jumps to the entered RefDes. The lower right corner of the GUI shows 1 selected object (pre-selected) and that is what zoom selection is centering on.
Maybe you have something in your environment that is causing it not to work. I would rename you PCBENV/ENV and create a new one with the first line being source $TELENV and the second line your Function Key alias and give it another try. Here is an example:
funckey F "generaledit; prepopup ; pop dyn_option_select 'Selection set@:@Clear all selections' ; set prompt ; prompt 'Enter Ref Des (on next step click pattern to keep it highlighted' ; refdes $prompt ; zoom selection ;generaledit "
Thanks for the advice. I ran a new env setup but unfortunately i also have to contend with a site.env that is used for our company site setup. My guess its set in the user preferences section but have not had any luck tracking it down yet.
You can run Allegro in Safe mode (allegro -safe) which will bypass all of the special environmental settings but you will need to cut and paste the funckey alias on the Allegro command line. You may be able to do it but you will need to remove some of the extra spaces before and after the semicolons so it can be pasted without having it wrap to a new line.
Good luck,Mike Catrambone