• 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. What is the best PCB Editor Command?

Stats

  • Replies 20
  • Subscribers 163
  • Views 1956
  • Members are here 0
More Content

What is the best PCB Editor Command?

John T
John T 20 days ago

You may already know how to type function commands directly into the PCB Editor Command panel. This can be a great time saver and performance boost.  

We have compiled a list of some of our engineers' favorite commands which we recommend.

Let us know what your favorite commands are?

Any questions, recommendations or other commands you think are more helpful?

So far we gathered the following:

Command                     Explanation

filemgr                              Opens the file explorer in the current design directory

reopen                              Reopens the current design to remove unsaved changes

done                                 Closes current active command

 

record                               Initiates the recording of a script under a specified name

stop                                  Halts the recording of scripts or macros and closes the .scr file

replay                               Executes a specified script; prompts for a script filename if none is provided

 

enved                               Opens the User Preferences Editor UI – normally located in the Setup menu

cns cmmodes                   Opens the Constraints Analysis Modes UI

design compare               Opens design comparison ui ( xml netlist version)

 

set                                    Display a list of all currently defined variables for the session

funckey                            Opens a list of all currently defined Alias Keys and Function Shortcut Keys

(up arrow key)                  Recall the previous command – consecutive use possible

 

Any more?! Comments or questions appreciated... 

  • Cancel
  • Sign in to reply
Parents
  • excellon1
    excellon1 15 days ago

    Hi John,

    I think most users would avoid the command line but opt for using the commands within macros or hot keys. For commands using the command line only the ones I use from time to time would be.

    CL2S = Cline to shape. "Very powerful skill app that converts clines to shapes" Really useful for creating etch for RF based circuits such as transmission lines etc.

    Etch Length = This command is used with add connect. It displays the length of the etch as you route clines in.

    Specctra out = Invokes the PCB Router

    Getting back to automation. One great way to use commands is with hot keys, but perhaps a less known method is to use strokes instead. Basically Strokes are graphical lines that a user draws in on the canvas using the right mouse button. These graphical entities map to commands. So that strokes work better there is a Setting that needs to be set first. Under user preferences look for no_dragpopup and check the box.

    To see what the current strokes are go to Utilities > Stroke Editor. There are some defaults and each one is mapped to a command. One of the defaults is Zoom. On the canvas with a board loaded try draw a Z using the right mouse button by holding down the button. That invokes the Zoom in. Its faster than a hot key as you don't have to leave the mouse. You just use the right button to draw something to invoke the command. "may take a little practice to get used to it.

    Anyway back to commands. One common command is add connect so as to route clines. One could easily add a Stroke to do this. I use a back slash type line to do this, like \ . So in the stroke editor add a new Stroke graphic and associate the command     generaledit; add connect; Toggle; etch length;  with it. Save the stroke file.

    In the pcb editor hold down the right mouse button and draw the stroke. If it works correctly you can left click and start adding in your new cline. If one does not like having the physical etch length showing up then just remove the etch length command from the stroke.

    From my experience when one gets used to using strokes general things such as adding etch etc become seriously fast.

    Best Regards.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • excellon1
    excellon1 15 days ago

    Hi John,

    I think most users would avoid the command line but opt for using the commands within macros or hot keys. For commands using the command line only the ones I use from time to time would be.

    CL2S = Cline to shape. "Very powerful skill app that converts clines to shapes" Really useful for creating etch for RF based circuits such as transmission lines etc.

    Etch Length = This command is used with add connect. It displays the length of the etch as you route clines in.

    Specctra out = Invokes the PCB Router

    Getting back to automation. One great way to use commands is with hot keys, but perhaps a less known method is to use strokes instead. Basically Strokes are graphical lines that a user draws in on the canvas using the right mouse button. These graphical entities map to commands. So that strokes work better there is a Setting that needs to be set first. Under user preferences look for no_dragpopup and check the box.

    To see what the current strokes are go to Utilities > Stroke Editor. There are some defaults and each one is mapped to a command. One of the defaults is Zoom. On the canvas with a board loaded try draw a Z using the right mouse button by holding down the button. That invokes the Zoom in. Its faster than a hot key as you don't have to leave the mouse. You just use the right button to draw something to invoke the command. "may take a little practice to get used to it.

    Anyway back to commands. One common command is add connect so as to route clines. One could easily add a Stroke to do this. I use a back slash type line to do this, like \ . So in the stroke editor add a new Stroke graphic and associate the command     generaledit; add connect; Toggle; etch length;  with it. Save the stroke file.

    In the pcb editor hold down the right mouse button and draw the stroke. If it works correctly you can left click and start adding in your new cline. If one does not like having the physical etch length showing up then just remove the etch length command from the stroke.

    From my experience when one gets used to using strokes general things such as adding etch etc become seriously fast.

    Best Regards.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • John T
    John T 14 days ago in reply to excellon1

    Great insights excellon1, thanks so much for sharing!

    Yes and totally agree that mouse strokes can also be a huge time saver when mastered for pcb design. After using them for about 10 years, I found myself sharing the burden between left and right hands though. Some commands I would use the mouse strokes (left hand), and for others I was using the right which was hovering over the keyboard. Like a wax-on / wax-off dual-handed approach!

    More elaborate strokes can be slower than a keyboard press, or need to be repeated. So once all the simple strokes are allocated, it may be more efficient to use the command autotype or an alias for later commands. Just a thought. :)  

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

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information