Aligning Objects During Placement
- Updated2026-05-01
- 2 minute(s) read
Use the alignment grid to snap front panel and block diagram objects to consistent positions as you are placing objects.
To use the alignment grid to align objects as you place them, complete the following steps.
-
If necessary, complete the following steps to display the alignment grid and enable
grid alignment.
Option Description Options dialog - Select or .
- Place checkmarks in the Show front panel
grid or Show block diagram grid checkboxes.
This option displays the alignment grid but does not restrict the placement of objects to the grid.
- Place a checkmark in the corresponding Enable
grid alignment checkbox.
This option restricts the placement of objects to the alignment grid.
- Click OK to close Options and save the changes.
Edit menu -
Select an object to place from the Controls or
Functions palette.
As you move objects before you place them, a red outline indicates how the object aligns with the grid.
- Optional: To toggle between restricting the object to the grid and allowing free placement, press G.
- Click to add the object to the front panel window or the block diagram window.
You can toggle grid alignment to manually align objects to the visible grid. Select or . You can also use the keyboard shortcut to toggle this setting.
To set grid options for all new VIs, use the grid options on the or .
1 On French keyboards, Ctrl+". For macOS, Command+*. For Linux, Alt+#.