The following special commands are available to extract specific information from a Panel design.

Include PCB Instance Contents

Include this command at the top level of the script to force the List of Components command to list all components inside each instance of a PCB design within the panel.

The command also affects List of Parts, List of Component Groups and List of Drill Holes.

Is Breakout Tab Hole

This tests whether a mounting hole in the Panel design is a hole in a breakout tab created by using the Create Breakout Tabs function. If the hole is a breakout tab, the test will be true.

Is Panel Design

This command is available at the top level when the report script is available for both PCB and Panel designs. Use it to set up a variable that can be used throughout the script to do alternative actions depending on if running the report for a Panel design or not. For example, for a parts list from a panel design you may wish to prefix the component name with the PCB Instance name.

List of Panel Shapes

This command will report all the special panel shapes in a Panel design. This includes Panel Outlines, Tab-Routs and V-Scores. Use List of Segments and List of Cutouts within it to report the shape of the shape.

Using the commands available under List of Panel Shapes, you can report the shape Type or use it in an If command to differentiate between the three types of panel shape. The values will be “Outline”, “Tab-Rout” or “V-Score”.

List of PCB Instances

This command will report all the PCB Instances in a Panel design. Using the commands available under List of PCB Instances, you can report the PCB Design Path, PCB Design Name and PCB Instance Name, as well as the position and rotation of each instance.

Panel Outline Extents

This command is used on a panel design to report the extents of the panel outline.

PCB Panel Origin

This command is used on a PCB design to report the position of the panel origin.

Type

Used within List of Panel Shapes to report the current shape type. The value reported will be “Outline”, “Tab-Rout” or “V-Score”. Use it in an If command to differentiate between the three types of panel shape.

Commands | Report Maker