Algrofreeviewer
Algrofreeviewer
Contents
blank waived drcs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Menu Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
color priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Priority Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Defining Color Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
dehilight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Options Tab for the dehilight Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
grid toggle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
hilight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
open . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Menu Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Print Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
plot setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Plot Setup Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
rats all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
rats component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
rats net . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
redisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Scripting Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
show element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
show measure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Measure Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
show property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Show Property Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
show waived drcs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Menu Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Drawing Options Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
unrats all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
unrats component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
unrats net . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
viewlog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Select File to View Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
zoom center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
zoom fit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
zoom in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
zoom out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
zoom points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
zoom previous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
zoom world . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
1
Allegro Free Physical Viewer
For more information on waiving DRCs, see show waived drcs, and the Creating Design
Rules user guide in your documentation set.
Menu Path
Display – Waive DRCs – Blank
Procedure
color
Syntax | Dialog Boxes | Procedures | Examples
* You can set and change these items using command arguments or using the Color and
Visibility dialog box.
Because you can set the colors and visibility for each subclass of your design with this
command, you can also use the color command to view all the classes and subclasses, and
the groups under which they are located.
Lastly, the tool provides a global color palette, which you can modify and save as a local or
database (design-specific) palette with the color command.
For more details on customizing colors used in your design, see Getting Started in the user
guide of your documentation set.
Menu Path
Display – Color/Visibility
Syntax
color [-gridcolor | -ratscolor | -highlightcolor | -permcolor “<color_number>”]
[-background “<RGB_value>”] [-group “<group_name>”] [-globvis “{off | on}”]
[-vis “{<class_name> | <class/subclass_name>}”] [-invis “{<class_name> |
<class/subclass_name>}”] [-toggle “<class_name> | <class/subclass_name>}”]
[-help]
Dialog Boxes
Use this dialog box to control the colors and the visibility of the various classes and
subclasses in the tool. You can also manage the colors of the design window’s display: grids,
ratsnest lines, highlighted elements, the background, and the brightness of active elements
during interactive commands.
Note: If you set the color_lastgroup environment variable, the Color and Visibility dialog
box appears with the Group field selection that you last used. If you do not set this
environment variable, the Color/Visibility dialog box appears with the current active layer in
the Options panel displayed in the Group field.
Display The following six fields appear when you set Group to
Display. They control the appearance of features of the design
window.
Grids Specifies the color of the grids. The default is white.
Running the -gridcolor argument with the color
command performs the same function.
Ratsnest Specifies the color of ratsnest lines. The default is pink.
Running the -ratscolor argument with the color
command performs the same function.
Temporary highlight Specifies the color of objects that are temporarily highlighted
during an interactive command, such as copy or move. The
default is white.
Running the -highlightcolor argument with the color
command performs the same function.
Waived DRC Specifies the color of waived DRC error markers. The default is
yellow. The text within the marker retains the color setting for
DRC error markers specified in Group: Stack-Up.
Permanent highlight Specifies the color of objects when you run the hilight
command. The default is white.
Running the -permcolor argument with the color
command performs the same function.
Background Specifies the color of the design window’s background. The
default is black.
Running the -background argument with the color
command performs the same function.
Shadow mode These settings appear when you set Group to Display. They
allow you to highlight individual objects without affecting the
visibility of that object’s entire subclass.
The shadow command performs the same function.
On/Off Activates and deactivates Shadow
mode, which darkens the colors of
objects and elements of your design.
Use this with the hilight command.
Brightness Specifies the percentage of brightness
applied to colors when Shadow mode
is set to On. The default is 50%.
Use this dialog box to set specific shades and hues of color for your color palette or for the
design window’s background.
After moving the control on the vertical sliding bar for luminosity away from the extremes of
white or black, you can move the crosshair around the spectrum. All the fields in the dialog
box reflect the correct number for the color in the crosshair. You can also type values in the
fields to choose a color.
Procedures
Second click
First click
To change the color of grids, ratsnest lines, and highlighting using the user interface:
1. Run the color command.
The Color and Visibility dialog box appears. For details, see Color and Visibility Dialog
Box.
2. From the Group list, choose Display.
3. In the Palette section of the dialog box, click one of the color boxes. This is the first click
identified in the Assigning Colors figure in the previous section. It is the new color you
want to assign.
4. In the Display section, click the color box next to the item (Grids, Ratsnest, Temporary
highlight, Permanent highlight, or Waived DRC) whose color you want to change.
This is the second click, similar to the one shown in the Assigning Colors figure.
The color box for this item changes to the color you selected from the Palette.
5. Click Apply to update the drawing and continue changing colors.
6. When you are done making changes in this dialog box, click OK to save changes and
close the dialog box.
You can change the background color of the design window in two ways:
■ Using the Color and Visibility dialog box and Color Editor, described here.
■ Running the color command with the -background argument. See Syntax for details.
You can control the visibility of classes and subclasses in two ways:
■ Using the Color and Visibility dialog box, described here.
■ Running the color command with one of the visibility arguments: -globvis, -vis,
-invis, or -toggle. See Syntax for details.
6. Click Apply in the Color and Visibility dialog box to update the design with your color
change.
7. If you want to save this color change for future use, continue with Saving the Modified
Color Palette below.
After modifying the color palette (see the previous instructions, Modifying a Color Element),
you can save the palette for use with other designs and for future use with the current design.
Note: A local palette is not specific to a design; it can be read into any other design. A design-
specific color scheme is a database palette. A database palette is any set of colors saved with
the design.
Examples
This example changes the color of ratsnest lines:
color -ratscolor “20”
The next example sets global visibility to off. Nothing appears in the design window.
color -globvis “off”
The next example sets the background color of the design to turquoise:
color -background 0x00ffff
This example sets the ASSEMBLY_NOTES subclass of the BOARD GEOMETRY class
visible:
color -vis “BOARD GEOMETRY/ASSEMBLY_NOTES”
The final example changes the visibility of the OUTLINE subclass of the BOARD
GEOMETRY class. If visibility for this subclass is enabled, this command disables it—and
vice versa.
color -toggle “OUTLINE”
color priority
Dialog Box | Procedure
Assigns the order in which colors are displayed on top of each other in the active design for
easier recognition. Also controls the visibility of a color. Use this command after assigning
colors to subclasses with the color command.
For more details on assigning a display priority to colors, see Getting Started in the user
guide.
Menu Path
Second click
First click
The first color you selected moves to the new location. The previous color for that position
moves down one level. Figure 1-4 shows the new order in the example: white is listed
first and blue has moved to the second position. All other colors shift down.
4. If you want to prevent a subclass of objects from appearing, click the check box next to
its color.
Note: This visibility check box takes precedence over visibility you set with the color
command.
5. Click OK.
dehilight
Options Tab | Procedure
Lets you deselect elements to be displayed in the permanent highlight color with the highlight
pattern.
Menu Path
Display – Dehighlight
An Options tab displays that shows you the Class and Subclass of the element that you have
chosen for dehighlighting, as well as the color that is assigned to it. It also provides these
buttons so that you can dehilight a whole group of elements at the same time:
■ Nets
■ Symbols
■ Functions
■ Pins
Procedure
exit
Saves the active layout, exits, and returns to the host operating system. The command
displays a browser window asking for a name under which to save the active layout. The
default is the name of the active layout. If you do not enter a name but click OK, the command
displays a dialog box asking whether you want to overwrite the existing layout and exits. If you
enter a new name, the command writes the layout to that filename and exits.
Menu Path
File –Exit
grid toggle
The grid toggle command turns on/turns off the grid display in your user interface.
hilight
Procedure
The elements are displayed in the permanent highlight color with the highlight pattern. The
highlight pattern is an alternating checkerboard of the element’s color and the selected
permanent highlight color. Elements highlighted with the Display – Highlight command stay
highlighted until you choose Display – Dehighlight to turn off the highlighting.
Menu Path
Display – Highlight
Procedure
Highlighting Elements
1. Run hilight.
The Find Filter or the Visibility dialog box display, depending on which one you choose
before you run hilight.
The Find Filter lists the objects that you can highlight for this command. The Options tab
shows the colors that you can use to highlight a design object. The current highlight color
appears in the PERM HIGHLIGHT field.
By default, the Options tab contains 24 colors. To change any of these colors, run the
color command, described in the Allegro PCB and Package Physical Layout
Command Reference. You want to modify a color element.
2. Make sure that the available selections in the Find Filter include the design object that
you want to highlight.
To deselect any checked objects, click the check box.
3. Click the highlight color in the Options tab that you want to assign.
The color in the PERM HIGHLIGHT fields changes to the color you selected.
4. Click on the design objects in the design window.
–or–
Hold down the left mouse button to define an area that contains the design objects, then
release the button.
The object(s) is highlighted with the color that you selected in the Options tab.
This procedure changes the color only of the design object that you selected. It does not
change the color of all instances of that type of object.
open
Syntax | Examples | Dialog Box | Procedure
Opens an existing design file in the current directory. You are prompted to save or discard
changes in the current open file. A file browser lets you search for the specified design file if
you do not provide a file name. A list of your most recently used (MRU) files. is available. See
opencd.
No warning occurs if you are switching your design from the tier where it was last saved to
another tier. To display the warning, set the db_tier_nomsg environment variable using the
Setup – User Preferences – Drawing (enved) menu command.
Co-Design Environment
When you open a new .sip or .mcm design, and an existing drawing that has co-design dies
with unsaved changes is open, you are asked whether you want to save the design. If you
choose to save the changes, then the File - Save command is invoked to save the data. If you
choose to discard the changes, then any temporary Open Access (OA) library/cell/views
containing unsaved data are deleted before the new design is opened.
Menu Path
File – Open
Syntax
You can run the open command from the console window prompt. The syntax is:
open [<design to open>]
If you do not provide the <design to open> argument, a browser window opens in the
current directory.
Examples
open master.brd
The master.brd file, located in the boards directory in the current directory, opens.
Dialog Box
The Open dialog box is a standard file browser. Two buttons appear below the Help button.
The left button lets you display a text preview of the current design; the right button lets you
display the graphics preview of the design. The preview area appears on the right side of the
list box.
Procedure
plot
Dialog Box | Procedure
The plot command lets you preview a plot as it will look when printed. When you choose
plot preview, the user interface changes to preview the active design as it will plot based
on the setup parameters in the Plot Setup dialog box and/or the Windows Print Setup
dialog box.
Important
Windows and Unix operating systems handle plotting differently. See the sections
on plotting that are appropriate to the operating system you use.
On Unix operating systems, successful plotting involves correct set-up and the creation of IPF
and control files, as well as the .cdsplotinit plotter configuration file, which lists
available printers/plotters. The .cdsplotinit file must reside in <install_path>/
tools/plot, the current working directory, or your home directory. See Preparing
Manufacturing Data in the user guide of your documentation set.
On Unix, Allegro PCB Editor and Allegro Package Designer recognize the Vectorize text
setting on the Plot Setup dialog box, available with the plot setup command, to permit
direct plotting of nonvectorized text with the File – Plot command.
Menu Path
File – Plot
On Unix, the plot command runs the Plot dialog box, that contains the following controls:
Print To File Indicates the plot file is to be sent to the named file.
Printer Name Indicates the name of the plotter the plot file is to be sent to.
Pen Numbers Displays the Plot Preference dialog box for assigning colors to
pens.
Procedures
To run the plot command, a plotter configuration file named .cdsplotinit must reside in
<install_path>/tools/plot, the current working directory, or your home directory.
If a .cdsplotinit file resides in multiple locations, the program looks down each path in
turn and adds any new information or replace any old information as it is found.
The .cdsplotinit file contains information vital to the operation of the allegro_plot
program such as:
■ the name of the output device,
■ the output format to be used for the device,
■ the paper sizes available for the device,
■ the maximum number of pages allowed on the device,
■ the Unix commands for spooling jobs to the queue,
■ checking the jobs in the queue
■ removing jobs from the queue on the device
■ other device specific information
For detailed information on setting up the .cdsplotinit file, refer to the Plotter
Configuration User Guide, available on SourceLink.
3. If necessary, click Setup to set additional printing options in the Windows Print
Manager dialog box.
4. Click OK to print or create the design file.
plot setup
Dialog Box | Procedure
The plot setup command lets you set parameters for plotting a design. (See plot for
additional details on plotting.) Although plotting procedures vary according to the operating
system you are running, the procedure for plot setup is the same for Unix and Windows.
Menu Path
General Tab
Plot scaling Fit to page: Indicates the plot file is to be scaled to fit the entire
plotted page.
Plot orientation Auto center: Centers the design on the plot page. This control
automatically invokes when you choose the Fit to page setting.
Mirror: Flips the design end-for-end about the Y axis. Useful for
viewing top and/or bottom layers.
Plot method Color: Directs the output to print in color. Color is determined by
the method specific to the platform you are using. On Unix, color
is read from a user-supplied stipples file
(allegro_plot_param.stipples); if a stipples file is not
found, plotter color defaults are used. On Windows, color
selection is determined by setting in the Color and Visibility
dialog box.
Black and white: Directs the output to print in black and white.
IPF setup Vectorize text: Specifies that text output to the IPF file is broken
into line vectors. The environment variable
PLOT_VECTORIZE_TEXT determines whether the Vectorize
text option is enabled or disabled by default.
Width: specifies the width for simulating the text characters. The
width used is established with the environment variable
PLOT_VECTEXT_WIDTH. The default is 0.
Environment variables are the initial default settings for the Plot
Setup dialog box. If you modify the settings in the dialog box, the
new settings override any environment variable settings that you
may have specified. When you exit, the current dialog box
settings are saved in the .ini file. These .ini file settings are
then used in the next session, and again override any specified
environment variable settings.
Windows Tab
Only appears on the Windows platform. The .ini file retains all settings between sessions.
Non-Vectorized Text Choose to generate plot files with true font text , which lets you
generate PDF-format plot output with searchable text.
Font Height Enter a percentage scaling factor for the character height to
closely match font text with that of the normal vectorized text
display/plot.
Font Width Enter a percentage scaling factor for the character width to
closely match font text with that of the normal vectorized text
display/plot.
View Available Fonts Click to review the available text fonts for the plot device.
Margin Control
Margin Width Specify the desired margin width in user units. The default
equates to 0.25 inches, or 0.0 if the noplotmargins
environment variable is set.
Procedure
3. Set plot parameters as described in the section above. Parameters that you set in Plot
Setup are retained in the .ini file. Therefore, they remain in effect for every database
you open until you change the parameters.
4. Click OK to save the settings.
rats all
The rats all command displays all existing ratsnest lines in your design.
To control the way in which the ratsnest lines are displayed, use them with the following
commands:
To display ratsnest lines as straight or jogged lines, set the ratsnest geometry in the Display
tab of the Drawing Options dialog box (status).
Menu Path
Procedure
rats component
Displays existing ratsnest lines attached to component pins.
To control the way in which the ratsnest lines are displayed, use them with the following
commands:
To display ratsnest lines as straight or jogged lines, set the ratsnest geometry in the Display
tab of the Drawing Options dialog box (status).
Menu Path
Procedure
rats net
Displays existing ratsnest lines attached to pins on a net.
To control the way in which the ratsnest lines are displayed, use them with the following
commands:
To display ratsnest lines as straight or jogged lines, set the ratsnest geometry in the Display
tab of the Drawing Options dialog box (status).
Menu Path
Procedure
redisplay
Updates and redraws the current design window. Similar to redraw.
Menu Path
View – Refresh
script
Dialog Box | Procedures
The script command records a series of actions. It creates a text file containing the
commands that you execute and adds a .scr extension to the file name. You can use scripts
to perform global tasks such as setting up dialog box options, adding objects to multiple
databases at the same location, and duplicating drawings. Using the interactive version of the
script command that displays the Scripting dialog box, you can also replay the script.
A macro is a script that lets you automate a series of point selections and replay them,
starting at another coordinate. When you replay a macro, Allegro PCB Editor prompts you for
a starting point (origin). The macro places the point selections you recorded relative to this
starting point. This is useful in performing operations that you need to repeat on a board/
design drawing, such as repeating complex geometric operations.
The current settings in your design are recorded in the script or macro. To display the script
with different settings, you must change them as part of the script.
Environment Variables
To keep the Scripting dialog box open, set the script_keepformopen environment
variable using Setup – User Preferences and selecting UI from the Categories frame.
When you set this variable, the dialog box does not close when you click the Replay button.
To specify a script to run on startup, set the script_startup environment variable using
Setup – User Preferences and selecting UI from the Categories frame.
For information on scripting in Allegro Package Designer XL and SiP Digital Architect/SiP
Layout, see Generating a Co-Design Die in the Placing the Elements User Guide.
Menu Path
File – Script
Script File
Name Specifies the name of the file in which you record your actions.
Allegro PCB Editor adds the .scr extension to the file name.
Browse Displays the script file data browser that lets you choose a
script file to replay.
Library Displays the script file data browser that lets you choose a
script file to replay. Opens to your script path location.
Generate Displays a file browser from which you can choose a .jrl file
to convert into a script without having to leave the current
environment. To process the journal file and reconstruct the
appropriate script outside of Allegro PCB Editor, run:
j2script <source_jrl_file> <target_allegro_script>
Record/Replay
Macro record mode Specifies whether or not you record as a macro. When
replaying, a macro requires a starting point.
Record Starts recording your actions.
Stop Stops recording your actions or replaying a script.
Replay Starts replaying a macro or script.
Cancel Closes the dialog box.
Help Displays the Help window.
Procedures
Creating a Script
1. Run the script command.
The Scripting dialog box appears.
2. In the Name text box, enter a name for the script.
3. Click Record.
The Scripting dialog box disappears.
4. Perform the tasks that you want the script to run.
The name of the file and the Rec status appears in the Status window.
5. Run script again, then click Stop in the Scripting dialog box.
Creating a Macro
1. Run the script command.
The Scripting dialog box appears.
2. In the Name text box, enter a name for the macro.
3. Click Macro Record Mode.
4. Click Record.
The Scripting dialog box disappears.
5. Perform the tasks that you want the macro to run.
The name of the file and the Rec status appears in the Status window.
6. Run script again, then click Stop in the Scripting dialog box.
Replaying a Script
1. Run the script command.
The Scripting dialog box appears.
2. In the Name text box, enter the name of the script that you want to replay.
If necessary, use the Browse button to locate the correct file.
3. Click Replay.
The script replays.
Replaying a Macro
1. Run the script command.
The Scripting dialog box appears.
2. In the Name text box, enter the name of the macro that you want to replay.
If necessary, use the Browse button to locate the correct file.
3. Click Replay.
The script replays.
You can automate the process of entering padstack data by creating a script that lets you
record the entries that you make in the Padstack Designer dialog box. To define new
padstacks that share similar padstack specifications, you can replay the script file and edit the
new padstacks as necessary.
show element
Dialog Box | Procedure
The show element command lets you list the attributes of a graphic object. It displays all
values relevant to the object, such as its graphic coordinates, segment coordinates (for lines,
connect lines, rectangles, and shapes), segment length, center and radius (for arcs), symbol
type and reference designator (for package symbols), attached properties.
The show element command shows the schedule for user schedule nets.
Menu Path
Display – Element
Dialog Boxes
The Show Element dialog box is a text box. It contains the following controls:
File – Save As Saves the information in a text file. When you issue this
command, Allegro PCB Editor and Allegro Package Designer
prompts you for a file name and appends the .txt extension.
File – Print Prints the contents of the window on either UNIX or Windows
systems. Use the User Preferences Editor dialog box to set the
print_unix_command environment variable governing UNIX
printing or the print_nt_extension environment variable
governing Windows printing.
File – Stick Makes the window remain on screen until you close the window,
or the program terminates. Use this option to compare
information between two windows. For example, you may use
show element to obtain information about two design objects
and use File – Stick to compare the contents of each window.
You can click on the x y coordinates in the Show Element dialog box and zoom center on the
location in the Design window.
To be able to search a text file when you use the File – File Viewer, File – Viewlog, or
Display – Element menu commands, be sure to set the allegro_html environment
variable by choosing Setup – User Preferences – Ui.
To be able to access a web link as the value of a property, be sure to set the allegro_html
environment variable by choosing Setup – User Preferences – Ui. For additional
information on storing web links as the value of a property, see Creating Design Rules in
the user guide of your product documentation.
Find By Name/Property
Use this dialog box to set up search criteria so you can find object types quickly.
Name Filter Lets you narrow the object list of names by typing in names,
parts of names, and using wildcards.
Value Filter Lets you narrow the object list of values by typing in values, parts
of values, and using wildcards.
All -> Lets you move all the Available Objects into the Selected
Object list.
<-All Lets you move all the Selected Objects into the Available
Object list.
Double clicking an object in either the Available Object list or the Selected Object list
results in the object moving to the other column.
When you click Apply, the Show Element dialog box appears and the Find by Name/Property
dialog box remains open. When you click OK, the objects are found but the Find by Name/
Property dialog box closes.
Procedures
This procedure lets you display object attributes. You can also find instances of inherited
properties on parent and child objects using this method. This depends on where you start to
search for inherited properties. If you add the FIXED property to a net and, by inheritance, to
its associated pin, only the first instance of the inherited property (attached to the pin) is
printed. Since the attachment does not exist on the pin, it is reported as being inherited from
the net.
1. Run the show element command.
2. In the Find filter, choose the design objects you want to display.
3. Position the cursor over an object and click to select.
The object is highlighted and the Show Element dialog box appears. It contains all values
relevant to the object you picked.
4. Choose additional objects for display or click right and choose Done from the pop-up
menu.
Note: You can print a listing of the highlighted design object or you can save the listing
to a file.
show measure
Dialog Box | Procedure
The show measure command lets you calculate the distance between two user-defined
points on your design and displays the following information:
■ Distance
■ Total distance
■ Manhattan distance
■ Change along the x-axis
■ Change along the y-axis
Menu Path
Display – Measure
Total Dist Displays the accumulated total of all values displayed in the Dist
field since you chose the second element or since you last
chosen Next from the pop-up.
Manhattan Dist. Displays the absolute sum of the x-distance and the y-distance
between two markers. This is always a positive value
If you have a connection path joining two elements, the following options appear on the
Measure dialog box:
Etch/Conductor Dist Displays the distance along the center lines of the connect lines
connecting the two elements.
Total Etch/Conductor Displays the accumulated connection path length from the first
selection you made.
Via Count Displays the number of vias on the path joining the last two points
you picked.
Air Gap Displays the minimum distance between the two elements you
picked. If either element is a DRC marker, NCDrill figure, or a
point not on any element, then a message displays indicating
that no Air Gap was measured. A similar message displays if
both picks are on the same etch/conductor type element.
Procedure
1. Run show measure.
2. Adjust the Find Filter to choose specific design elements,.
3. Position the cursor and click to highlight the first element.
The Measure dialog box displays and identifies the element and its location.
4. Position the cursor and click to highlight the second element.
The Measure dialog box is updated with the second element and its location, and
displays the distance between the two points you chose.
The following temporary markers on each element appear:
❑ A cross indicates the center of a pad or the vertex of a connect line or filled
rectangle.
❑ A square at the nearest grid point identifies all other picks.
If you pick two different elements and an air gap has been defined between them, a line
showing the air gap between the nearest points on the two elements is displayed.
The command finds the connecting path, if it exists, between the two elements you pick,
highlights it, and displays the distance in the Dist field of the Measure dialog box. If more
than one connecting path joins the two elements, one of them is found and highlighted.
a. To measure any other path, indicate it by picking intermediate points along it and
read the Total Dist field of the Measure dialog box.
5. When you are finished, click right to display the pop-up menu, and choose Done.
show property
Dialog Box | Procedure
The show property command identifies the properties in your current design in the Show
Property dialog box. You can list all design elements assigned to a property/value or view a
property definition.
For more details about properties, see the Creating Design Rules user guide in your
product documentation.
Menu Path
Display – Property
Information Tab
Available Properties Displays a list of all Allegro PCB Editor and Allegro Package
Designer properties. Click a property to choose it. The property
name appears in the Name field.
Filter Limits the properties you want displayed in the Available
Properties list.
Name Searches for the property name entered in this field.
Value Searches for the property value entered in this field. A property
must be defined in the Name field before this field is active.
Type Indicates the property type after you have chosen a property.
Sort By Sorts elements in one of the following ways:
Element (Default) Lists properties by design
element.
Property Lists design elements by property.
Show Val Displays a list of all the elements that have the chosen
property/value. The list appears sorted in a separate window
that remains open until you close it.
Show Def Displays the definition of the chosen property, which appears in
a separate window that remains open until you close it.
Reset Clears the fields and resets to the defaults.
Graphics Tab
Available Properties Displays a list of all Allegro PCB Editor and Allegro Package
Designer properties. Click on a property to choose it.
Filter Limits the properties on display in the Available Properties list.
Selected Properties Displays the name of the property for which to create text.
Subclass Identifies the manufacturing subclass on which to create text
for the chosen properties.
Text Block Specifies the size of the text.
Property Name If chosen, property text includes both property name and
value.
Reset Clears the fields and resets to the defaults.
Create Click to create text for properties listed in Available
Properties.
Delete Deletes all text on the subclass.
Procedures
10. In the Package Geometry section, click the ASSEMBLY TOP and BOTTOM subclasses
to display them.
11. Set the Global Visibility to All Invisible.
12. Click Yes in the confirmer that appears.
13. Set Group to Manufacturing and click any user-defined subclasses to display them;
otherwise, Allegro PCB Editor adds the text instances to the PROPERTIES subclass by
default.
14. Click Apply on the Color and Visibility dialog box.
15. Click the Show Element icon. Set the Find Filter to All Off and enable Text.
16. Window select to zoom in. The elements with the property name and value text appear.
For more information on waiving DRC errors, see blank waived drcs and Waiving
Design Rule Check Errors in your product documentation.
Menu Path
Display – Waive DRCs – Show
Procedure
status
Dialog Box
The status command lets you establish the operating characteristics for the active design
in either layout or symbol mode.
Menu Path
Status Tab
In the layout mode, you can use the Status tab to verify the current state of dynamic shapes
and DRCs and update them if they are out of date. An out of date dynamic shape is one for
which the Dynamic Copper Fill mode has been set to Rough or Disabled on the Global
Dynamic Shape Parameters dialog box (non-Smooth Dynamic Copper Fill mode).
When dynamic shapes are out of date, changing the dynamic copper fill mode on the Status
tab produces the following behaviors:
Changing fill mode from and using this button produces this result
Disabled to Rough OK no update of dynamic shapes
changes fill mode in Global
Dynamic Shape Parameters dialog
box to Rough
Disabled to Smooth OK no update of dynamic shapes
changes fill mode in Global
Dynamic Shape Parameters dialog
box to Smooth
Rough to Smooth OK no update of dynamic shapes
changes fill mode in Global
Dynamic Shape Parameters dialog
box to Smooth
Changing fill mode from and using this button produces this result
any selection/no selection Update to Smooth updates dynamic shapes to Smooth
changes fill mode in Global
Dynamic Shape Parameters dialog
box to Smooth
You can also assess the number of unplaced symbols or unrouted nets. In the symbol mode,
you can view the number of connect and mechanical pins in the design.
Connect pins Displays the number of connect pins in the design. (symbol
mode only).
Mechanical pins Displays the number of mechanical pins in the design. (symbol
mode only).
A red color box indicates the Dynamic Copper Fill mode for all
dynamic shapes has been set to Rough or Disabled on the
Global Dynamic Shape Parameters dialog box, making all
dynamic shapes out of date (non-Smooth Dynamic Copper
Fill mode) as a result. Out of date dynamic shapes prevent
artwork output.
A green color box indicates the Dynamic Copper Fill mode for
all dynamic shapes has been set to Smooth, making all dynamic
shapes up-to-date (Dynamic Copper Fill mode set to
Smooth).
DRC errors Indicates whether DRC markers are up-to-date. The status can
be UP TO DATE.
Waived DRC errors Displays the count of waived DRC errors that exist in the design.
Waived DRC errors are never considered out-of-date.
Refresh button Click to display the most recent status for symbols, nets,
and shapes.
DRC Controls
On-Line DRC Specifies whether you run DRC online (On) or in batch mode
(Off). Default is On. You should leave DRC mode on so that as
you change the design, you get immediate feedback about
design rule violations. For better performance, turn it off, but you
should run a batch DRC update before manufacturing the board.
Default Symbol Height Indicates the default height of a symbol on the design if you did
not specify the height when you created the symbol. Use this
value to check package-to-package/part-to-part and package-to-
keepout/part-to-keepout DRC. Defaults to 150 Mils.
Update DRC button Click to display the total number of errors. It is only enabled when
online DRC is enabled.
Fill Mode Controls automatic voiding and edge smoothing for all
dynamically filled shapes. Use this field to change the dynamic
copper fill mode while you are evaluating the status of dynamic
shapes without opening the Global Dynamic Shape
Parameters dialog box. The setting you choose here then
defaults to the Global Dynamic Shape Parameters dialog box.
Update to Smooth Click this button to automatically void and run DRC on all
dynamically filled shapes, making all dynamic shapes up-to-date
(Dynamic Copper Fill mode set to Smooth) and produce
artwork quality output (regardless of whether you chose Rough
or Disabled in the Fill Mode field above). Changes the current
Dynamic Copper Fill mode on the Global Dynamic Shape
Parameters dialog box to Smooth.
Display Tab
Connect Point Size Specifies the size of a connect point in user units. The default is
10. Cpoint sizes should be set high enough to be easily seen in
a drawing. The appropriate setting (for visibility) depends on the
line width in your design.
DRC Marker Size Determines the size, in user-defined units, of the DRC markers
that appear in a design. The default is 25.
Rat T (Virtual pin) size Allows you to control the graphical size of a Rat T.
Max Rband Count Specifies an upper limit on the number of lines drawn during
editing sessions. You should not have to change this value with
modern graphic cards. The default is 500.
Ratsnest Geometry Displays a pop-up menu that lets you choose the shape of the
ratsnest lines. The default is Jogged.
Ratsnest Points Displays a pop-up menu that lets you choose the closest
distance on a line (Closest endpoint) or between two pins (Pin
to pin). The default is Closest endpoint.
Display Plated Holes Displays plated drill holes in your design. Unchecked by default,
because plating hole visibility often is not required due to the
volume of entities and supporting geometries such as etch layer
pads.
Filled Pads Controls onscreen design display and fills pins. Unchecked by
default. Leaving pads unfilled can improve display performance.
Cline Endcaps Controls onscreen design display and rounds line vertices to
more closely approximate artwork.
Thermal Pads Displays thermal pads when you have a negative plane.
Unchecked by default.
Bus Rats Displays the middle portion of ratsnest lines with the same
BUS_NAME property so that they appear to be merged into a
thick line. Unchecked by default.
Text Tab
Justification Indicates the anchor point within text that you add to the layout.
The anchor location determines how the text appears in the text
block. The default is Left.
Parameter Block Defines the size and spacing of the text you add to the design.
Using the define text command, you can define up to 16 text
blocks. The default is 1.
Text Marker Size Determines the size, in user units, of the displayed text markers.
These markers indicate locations for text that will be entered
later. The default is 50.
Room Name Specifies the text size of room names in the Allegro PCB
SI layout.
Use this tab to specify the default values when you add lines.
Lock Direction Displays a pop-up menu that lets you specify the direction of
lines that you add to a drawing. The options are Off, 45, and 90.
The default is Off.
Lock Mode Specifies the type of segments to use when adding lines or
connect lines. The options are Line and Arc. The default is Line.
Minimum Radius Determines the minimum radius allowed for an arc. The default
is 0.
Symbol Tab
Use this tab to specify the default values used when you place symbols.
Angle Specifies the default angle that is used to place symbols. You can
enter an angle with up to three decimal places, or you can display
a pop-up menu and choose one of the available angles. The
default is 0.
Mirror Lets you mirror symbols that you add to a drawing. By default,
this is not checked.
unrats all
The unrats all command hides all ratsnest lines in your design.
Menu Path
Procedure
unrats component
Hides visible ratsnest lines to pins on an individual component or a group of components in
a design. Click to select the components or select the appropriate symbol name or symbol
list from the Find by Name section of the Find filter.
Menu Path
Procedure
Optionally, you can extend your selection by clicking right and choosing Refdes List or
Refdes Name from the pop-up menu.
unrats net
Hides visible ratsnest lines to pins on an individual net or a group of nets in a design. To select
the nets to be invisible, select the pins on the appropriate net or select the appropriate net
name or net list from the Find by Name section of the Find filter.
Menu Path
Procedure
Hides visible ratsnest lines to pins on an individual net or a group of nets in a design. To select
the nets to be invisible, select the pins on the appropriate net or select the appropriate net
name or net list from the Find by Name section of the Find filter.
1. Run unrats net.
2. All ratsnest lines to pins on the nets that you select are removed.
Optionally, you can extend your selection by Net by clicking right and choosing Net List
or Net Name from the pop-up menu.
viewlog
Dialog Box | Procedures
The viewlog (also viewlog -last) command lets you view log files created by an
automatic process, such as AutoRoute, NC Drill, and Silkscreen. The windows in which log
files appear contain menu controls that let you save and print the logs.
You can click on the x y coordinates in the Viewlog dialog box and zoom center on the location
in the Design window.
To be able to search a text file when you use the File – File Viewer, File – Viewlog, or
Display – Element menu commands, be sure to set the allegro_html environment
variable by choosing Setup – User Preferences – Ui.
File – Save As Saves the information in a text file. When you issue this
command, you are prompted for a file name and the.txt
extension appends.
File – Print Prints the contents of the window on either UNIX or Windows
systems. Use the User Preferences Editor dialog box to set the
print_unix_command environment variable governing Unix
printing or the print_nt_extension environment variable
governing Windows printing. See the Getting Started with
Physical Design user guide in your documentation set for more
information.
File – Stick Makes the window remain on screen until you close the window,
or the program terminates. Use this option to compare
information between two windows. For example, you may use
show element to obtain information about two design objects
and use File – Stick to compare the contents of each window.
Procedures
zoom center
The zoom center command moves the indicated point in the drawing into the center of the
window display.
Menu Path
Procedure
Use dynamic zooming by way of the middle mouse button. For details on dynamic zooming,
see the Getting Started with Physical Design user guide in your documentation set.
zoom fit
The zoom fit command fits your entire layout in the design window. In APD, the command
focuses around ASSEMBLY_TOP/ASSEMBLY_BOTTOM shapes if there is no package
substrate outline or if there are no keepouts in the design.
Menu Path
Procedure
–or–
Press F9.
–or–
Use dynamic zooming by way of the middle mouse button. For details on dynamic
zooming, see the Getting Started with Physical Design user guide in your
documentation set.
A full view of the design, excluding legends and borders, is displayed in the Design
window.
zoom in
The zoom in command magnifies your view by a factor of two. You can continue to zoom in
on a design by repeating this command.
Menu Path
View – Zoom In
Procedure
–or–
Press F10.
–or–
–or–
Use dynamic zooming by way of the middle mouse button. For details on dynamic zooming,
see the Getting Started with Physical Design user guide in your documentation set.
zoom out
The zoom out command halves the magnification of your layout.
Menu Path
Procedure
–or–
Press F11.
–or–
Use dynamic zooming by way of the middle mouse button. For details on dynamic zooming,
see the Getting Started with Physical Design user guide in your documentation set.
zoom points
The zoom points command lets you define an area of your layout to zoom in on (magnify).
Menu Path
Procedure
–or–
Press F8.
–or–
–or–
Use dynamic zooming by way of the middle mouse button. For details on dynamic
zooming, see the Getting Started with Physical Design user guide in your
documentation set.
2. Click in the layout to anchor the start coordinate.
3. Move the mouse pointer over the layout to define the zoom boundary.
A bounding box expands as you move the mouse.
4. Click again to define the end coordinate.
The selected area expands into view.
zoom previous
The zoom previous command lets you to zoom back from the current window extents to
the prior view.
Menu Path
zoom world
The zoom world command reduces the magnification of your design so you can view your
entire drawing.
Menu Path
Procedure
To zoom out to a full view of your design, use one of the following methods:
1. Run the zoom world command.
or
or
Use dynamic zooming by way of the middle mouse button. (For details on dynamic
zooming, see the Getting Started with Physical Design user guide in your
documentation set..