OnTopSolderMask
Created: September 03, 2015 | Updated: August 20, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 3.1. For the latest, read: OnTopSolderMask for version 4
Parent page: PCB Query Functions - Layer Checks
Summary
Returns all objects on the Top Solder layer, all pads on the Top Layer and Multi-Layer, and all vias starting on the Top Layer. The pad and via objects are returned because they also render to the Top Solder layer.
Syntax
OnTopSolderMask : Boolean
Example Usage
On
Top
SolderMask
On
= TrueTop
SolderMask
Returns all objects on the Top Solder layer, all pads on the Top Layer and Multi-Layer, and all vias starting on the Top Layer.
Not On
Top
SolderMask
On
Top
SolderMask
= False
Returns all objects except objects on the Top Solder layer, all pads on the Top Layer and Multi-Layer, and all vias starting on the Top Layer.