The following special commands are available to extract specific information from a PCB design.
Back Drill Oversize
This command will report the global Back Drill oversize defined in Technology - Back Drill. This value is the either the increase in radius of the drill (Absolute Size) or a percent increase of the drill (Percent of Drill Size).
Back Drill Stub Length
This command will report the Back Drill stub length defined in Technology - Back Drill. This value is the back off distance from the stop layer of the Back Drill span.
Maximum Layer
This command will report the maximum number of physical copper layers in the design. To be included a layer must use a layer class with its type set to Electrical and its Physical Copper Layer box checked. For example, for a design with a Top and Bottom side plus two inner power plane layers, the maximum layer count reported will be 4.
Example use of Maximum Layer
Maximum Layer
The report output looks like this:
4
Minimum Pad Spacing
This command will report the minimum pad to anything spacing set up in the design spacings rules. This includes all net class specific spacings and all net class pair spacings.
Minimum Track Spacing
This command will report the minimum track to anything spacing set up in the design spacings rules. This includes all net class specific spacings and all net class pair spacings.
Minimum Used Track Width
This command will report the minimum width used by any track in the design.
Need Back Annotation
This command is used to test whether a design has back annotation information pending.
Example use of Need Back Annotation
If "Need Back Annotation"
Cancel Report
Else
List of Components
Component Name
Footprint Name
End Of Line
This reports:
The script will test to see if back annotation is needed and will report True if it does, then end the report using the Cancel Report command. If it does not need back annotation, (Else) it runs the List of Components command.
Test Probe Side
This command is used to report the design’s Testpoint Side as defined in your Technology dialog under Testpoint Rules for Testpoint Side.
Example use of Testpoint Side
Test Probe Side
List of Testpoints
Testpoint Name
End Of Line
The report output looks like this:
Bottom
TP1
TP2