2 Replies Latest reply on Jan 6, 2015 3:33 AM by MikeD

    Short cut key for Fix & lock traces

    bmurali1011

      Hi,

      I am using EE2007.9.4.

      Is there any Short cut key available to Fix & lock traces?

       

      Regards

      Murali Bala

        • 1. Re: Short cut key for Fix & lock traces
          sajivnglnice

          Hi Murali,

           

          Try this one.

           

          Alt+E+X - Fix

          Alt+E+N - Unfix

          Alt+E+O - Lock

          Alt+E+K - Unlock

           

          These are ordinary shortcut keys only. Practise these shortcuts while PCB designing.

          I hope that this one will help you.

           

          Regards,

          Sajiv

          • 2. Re: Short cut key for Fix & lock traces
            MikeD

            Hi Murali,

             

            I use keybindings and assign F for fix/unfixing and L for lock/unlocking traces and vias.

            Create a script that contains the snippet below and point to it with your scripts.ini file.

            It really speeds things up.

             

            Mike

            =============

            ' Add the new key binding

            Call docKeyBindTableObj.AddKeyBinding("f", "run Fix.vbs", BindCommand, BindAccelerator)

             

            Dim tcnt: tcnt=0

            Dim tr: Dim tAnc

            For Each tr in pcbDoc.Traces(epcbSelectSelected)

                if tr.Anchor = epcbAnchorNone Then

                    tr.Anchor = epcbAnchorFixed

                    tcnt=tcnt+1

                elseif tr.Anchor = epcbAnchorFixed Then

                    tr.Anchor = epcbAnchorNone

                    tcnt=tcnt+1

                End If

            Next

             

            Dim vcnt: vcnt=0

            Dim via: Dim vAnc

            For Each via In pcbDoc.Vias(epcbSelectSelected)

                if via.Anchor = epcbAnchorNone Then

                    via.Anchor = epcbAnchorFixed

                    vcnt=vcnt+1

                elseif via.Anchor = epcbAnchorFixed Then

                    via.Anchor = epcbAnchorNone

                    vcnt=vcnt+1

                End If

            Next

            ==============