OnPaste
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 1.0. For the latest, read: OnPaste for version 4
Parent page: PCB Query Functions - Layer Checks
Summary
Returns all objects on the Top Paste and Bottom Paste layers, and all pads on the Top Layer and Bottom Layer – the pad objects on these layers are returned because they also render to the Top Paste and Bottom Paste layers respectively.
Syntax
OnPaste : Boolean
Example Usage
On
Paste
On
Paste
= True
Returns all objects on the Top Paste and Bottom Paste layers, and all pads on the Top Layer and Bottom Layer.
Not On
Paste
On
Paste
= False
Returns all objects except objects on the Top Paste and Bottom Paste layers, and all pads on the Top Layer and Bottom Layer.