OnMechanical
This document is no longer available beyond version 21. Information can now be found here: OnMechanical for version 25
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.