OnMechanical
Created: September 03, 2015 | Updated: August 20, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0 and 18.1
Now reading version 17.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 (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).