OnMechanical
Created: December 07, 2018 | Updated: December 07, 2018
| Applies to versions: 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 3.1. For the latest, read: OnMechanical for version 4
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.