The grid system in a printed circuit board design CAD system really is your friend, and if you haven’t taken the time to get properly introduced yet let me help you with that. Altium Designer has a very well designed grid system that you can use to your advantage in your PCB designs. Before all the different snap and placement utilities that are now available now in CAD systems, we used to have to constantly manipulate the grid to place objects at different locations.
It seems more common for designers to have adopted the attitude of “set it and forget it” when it comes to their grids. Grids are still important, perhaps now more than ever, and learning to use the grid to your advantage can be a real benefit to you.
Altium Designer has a Unified Cursor-Snap System to give you precise control over your main grid, and the ability to set-up and control many other grids as well. With this system of multiple grids, you don’t have to constantly reset your main grid. On the other hand, if you prefer working with one main grid there are easy ways to do that too. This system has several features, and here are a few that I find to be the most helpful.
The Grid Manager in Altium Designer for PCB Layout
Altium Designer provides you with the main default grid, the Global Board Snap Grid, as well as the ability to create additional grids that you can use for specific purposes. The core of this grid system is the grid manager. This is the utility that allows you to create and delete additional grids as well as set up and control any grids that you will use during your design session.
In Altium Designer 18 there is a change to the grid manager from version 17, the grid manager is no longer accessible from the “View” pulldown menu as it used to be. In version 18 you now click on the “Panels” button in the lower right corner of the design session window, and then select “Properties.”
The key here is to make sure that you don’t have anything else selected in the design session when you click on the properties button or you will get a menu for the selected object’s properties instead of the board properties. Once the “Properties” menu is open, scroll down until you get to the “Grid Manager” section in the menu.
Use the “Panels” button to access the “Properties” menu, and scroll down for the Grid Manager
The “Global Board Snap Grid” is the main default grid in Altium Designer. Although you can change the parameters of this grid and enable or disable its use, you aren’t allowed to delete it. Notice in the image above that when first opening the grid manager, the only grid listed is the main global board snap grid. By selecting this grid and clicking the “Properties” button within the grid manager window, you can adjust the parameters.
You can do all of your design work by manipulating the main global board snap grid, or you can create additional grids for different purposes.
To create a new grid, click the “Add” button within the grid manager window and select “Add Cartesian Grid” from the pop-up menu. Note that a new grid has been added to the grid manager named “New Cartesian Grid”. Select it and click the properties button to open up the Cartesian Grid Editor. This editor allows you to set up the different parameters as shown in the image below.
Changing the parameters of a new grid with the Cartesian Grid Editor
The Cartesian Grid Editor gives you a lot of control over your grid set up. Here are a few of the parameters that you can alter:
- The name of your grid: You can change your grid to a more descriptive name.
- The units of the grid: You can choose between metric and imperial.
- The steps of the grid: Here is where you will set up the grid spacing; 1mil, 5mil, 25mil, etc.
- The extents of the grid: How large of an area do you want this grid to cover?
- The display of the grid: This is where you will set the color and step multiplier of the grid, as well as whether the grid will display in dots or lines.
There are many other options here as well. The X & Y values of the steps and the extents can be linked or set separately depending on your needs. There are also controls for the grid origin and quadrants. In the image above you can see where the display color was selected opening a “Choose Color” submenu. Here you can choose between standard or custom grid colors.
Once the grid parameters have been set, click “OK” to close the Cartesian Grid Editor.
In the image below you can see the addition of two new grids to the grid manager. Each grid has a priority number to the left of its name. This priority is what will determine which grid is displayed in your design session. You can also change it by right-clicking on the grid to adjust its priority level. The global board snap grid has the lowest priority level preset to 50 which can’t be changed.
Multiple grids shown within the grid manager
To control which grid is to be displayed and used, enable or disable the “Comp” and/or “Non Comp” buttons to the right of each grid. By enabling “Comp”, the grid can be used for placing components while enabling “Non Comp” will allow you to use the grid for everything else. When moving components, a “Comp” enabled grid will display even if it is a lower priority than other “Non Comp” grids.
Polar Grids in Altium PCB Layout
Many years ago I laid out round boards that were used for IC testers that required components to be spaced on equal radiuses. This was before CAD systems had polar grids and our ad hoc system was a painful process of drawing lines on the radiuses by manipulating the regular grid system and using a lot of math. Then to place the parts you had to set the grid to the smallest value possible and eyeball the component to land on the radial lines that we had drawn.
Altium Designer gives you the ability to add a polar grid
Fortunately, Altium has provided a solution to this by giving you the ability to create a polar grid. From the grid manager, you will go through the same steps to create a new grid only this time you will select “Add Polar Grid” as shown in the image above. The same controls for priority and comp or non comp apply to a polar grid as they do for a cartesian grid.
The Polar Grid Editor gives you the same control over your grid as the Cartesian Grid Editor does, although some of the settings are specific for the polar grid. As shown below, you have the ability to control angular ranges and radial ranges instead of extents and quadrants.
The Polar Grid Editor menu in Altium Designer
You may not have a lot of use for a polar grid depending on the technology that you are designing for, but if that need comes up you will be very grateful for this grid in Altium. Even boards that aren’t “round” may still require components placed on a radial grid, and Altium Designer has that need covered for you.
Altium Designer 18 with a polar grid displayed
Grid Shortcuts in Altium PCB Layout
Many renowned self-help books will tell you that there aren’t any shortcuts in life, but these people never laid out a printed circuit board. Fortunately, Altium is loaded with keyboard shortcuts that you can use to your advantage. Here are some of those shorts to help as you work with Altium Designer’s grid system.
Pressing a “G” on your keyboard will bring up a list of preset global board snap grids
When you are in Altium Designer, pressing the keyboard shortcut of “G” will bring up a list of preset grid values as shown in the image above. This will allow you to quickly set the global board snap grid to any value in the list by simply clicking on it. This menu will also give you the option of going into the cartesian grid editor for the global board snap grid as well as manually setting the snap grid value.
Other keyboard shortcuts include “GX” and “GY” which will allow you to set individual grid values for either the X or the Y values. Another shortcut is “Ctrl+G” which will bring up the cartesian grid editor for the global board snap grid. The most used shortcut is probably “Shift+Ctrl+G”. This little jewel will bring up a small dialog box which will allow you to manually enter the value you want for the global board snap grid.
Using grid control keyboard shortcuts can save you lots of time while working on your design
Altium Designer 18 comes complete with many different utilities such as the grid system that we’ve been discussing here. These functions and shortcuts truly position Altium as one of the best PCB design software tools that you will find. Even something as simple as setting a grid has been enhanced by Altium to give you the maximum performance in order to best help you to complete your designs ahead of schedule and under budget.
If you’re not already using it, talk to an expert at Altium to find out how you can start using Altium on your next PCB design and put its power to work for you.
About the Author
PCB Design Tools for Electronics Design and DFM. Information for EDA Leaders.More Content by Altium Designer