EMA Academy

Quick How-Tos

Home > EMA Academy > How-Tos > How to Assign a Permanent Shortcut Key

How to Assign a Permanent Shortcut Key

Creating a PCB design often comes with monotonous, repetitive tasks. For example, the time spent rotating components during placement, deleting components, and creating vias can accumulate and slow down the design process. While scripting can be used to expedite these tasks, they are simple enough to be done with a single shortcut key. Easily assign a permanent shortcut key in OrCAD X PCB Designer to accelerate the PCB design process.

This quick how-to will provide step-by-step instructions on how to assign a permanent shortcut key in OrCAD X PCB Designer.

To follow along, download the provided files above the table of contents.

How-To Video

Open in New Window

Locating the Environment File

Note: Permanent shortcut keys must be defined in the environmental file for reuse in all PCB designs.

Just want a shortcut key for your current PCB design session? Learn how to configure shortcut keys directly in the OrCAD PCB design canvas here.

Step 1: Open File Explorer and enter %home% into the filepath bar.

Step 2: Double-click the pcbenv folder to open it.

Step 3: Locate the env file. Right-click and select Open With.

Step 4: Open the file in a text editor such as Notepad.

Assign a Permanent Shortcut Key in OrCAD

ShortcutKey Step5
Defining Custom Hotkeys for OrCAD in the Environment File

Step 5: Locate the section under source $TELENV.

Assign a permanent shortcut key in OrCAD to accelerate PCB design tasks
Assign a Permanent Shortcut Key in OrCAD

Step 6: The following syntax can be used to define shortcut keys: funckey [keyboard key] [command].

Enter funckey r iangle 90. This will assign the command iangle 90 to the R key on the keyboard.

Note: Any command available in PCB Designer can be assigned a shortcut key. Learn how to determine the commands used in OrCAD PCB Designer here. To assign multiple commands to a key, surround them in quotes.

Step 7: Enter funckey Del delete to assign the Delete command to the Delete key.

Step 8: Enter funckey v “pop bbdrill”. This will create a via when the v key is pressed during routing.

Step 9: Save and close the environment file.

Use Shortcut Keys in OrCAD

Step 10: Open the provided design in OrCAD X PCB Designer.

ShortcutKey Step11
Deleting a Component with Shortcuts in OrCAD X PCB Designer

Step 11: Select capacitor C2 on the PCB canvas and press Delete on the keyboard. The capacitor is deleted.

ShortcutKey Step11Note

Note: The capacitor was deleted because the delete command was assigned to the Delete key. To delete without this shortcut, select the component and click Delete on the toolbar.

Step 12: Select Place > Components Manually from the menu.

ShortcutKey Step13
Activating Component Placement in OrCAD X PCB Designer

Step 13: Check C2 to re-add the capacitor.

Step 14: Click Hide to hide the Placement window.

Note: Do not close the placement window. Component placement will be canceled.

Step 15: Press R on the keyboard to rotate the capacitor. With the shortcut key assigned, the capacitor is rotated.

ShortcutKey Step16
Rotating a Component with Shortcuts in OrCAD X PCB Designer

Step 16: Click to place the capacitor. Right-click and select Done.

Routing with Shortcut Keys

Step 17: Select Route > Connect from the menu.

ShortcutKey Step18

Step 18: Click the SHDN pin on IC1 to start routing a connection.

Step 19: In the Options panel, select Bottom as the alternate layer.

Note: This determines which layer the net will be routed on after a via is placed.

ShortcutKey Step20
Placing a Via with Shortcuts in OrCAD X PCB Designer

Step 20: Press V on the keyboard. As defined, a via is created and the layer is changed to Bottom.

Step 21: Right-click and select Done.

Wrap Up & Next Steps

Quickly reduce the time spent on PCB design tasks and assign permanent shortcut keys in OrCAD X PCB Designer.

To test out this feature and more, get a free trial of OrCAD. Get more how-tos for OrCAD at EMA Academy.

Follow Along, Download the Pre-Packaged Design Files

Current Offers

Get access to the latest and greatest CAD tools today.

Table of Contents

How To was created with:
Share:
LinkedIn
Email
EMA Design Automation