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