OnMechanical
Created: December 07, 2018 | Updated: December 07, 2018
| Applies to versions: 19.0, 19.1, 20.0, 20.1 and 20.2
Now reading version 19.1. For the latest, read: OnMechanical for version 21
Parent page: PCB Query Functions - Layer Checks
Summary
Returns all objects on any enabled Mechanical layers.
Syntax
OnMechanical : Boolean
Example Usage
On
Mechanical
On
= TrueMechanical
Returns all objects on any enabled Mechanical layers.
Not On
Mechanical
On
= FalseMechanical
Returns all objects except objects on any enabled Mechanical layers.