OnMechanical
Created: September 03, 2015 | Updated: August 20, 2021
| Applies to versions: 1.0 and 1.1
Now reading version 1.0. For the latest, read: OnMechanical for version 4
Parent page: PCB Query Functions - Layer Checks
Summary
Returns all objects on any enabled Mechanical layers (Mechanical 1-32).
Syntax
OnMechanical : Boolean
Example Usage
On
Mechanical
On
= TrueMechanical
Returns all objects on any enabled Mechanical layers (Mechanical 1-32).
Not On
Mechanical
On
= FalseMechanical
Returns all objects except objects on any enabled Mechanical layers (Mechanical 1-32).