Query_Lang-PCBFunctions_LayerChecks_OnPasteOnPaste_AD
Created: Sierpień 02, 2022 | Updated: Sierpień 02, 2022
| Applies to version: 4
This document is no longer available beyond version 4. Information can now be found here: OnPaste for version 5
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
OnPaste
OnPaste = True
Returns all objects on the Top Paste and Bottom Paste layers, and all pads on the Top Layer and Bottom Layer.
Not OnPaste
OnPaste = False
Returns all objects except objects on the Top Paste and Bottom Paste layers, and all pads on the Top Layer and Bottom Layer.