Query_Lang-PCBFunctions_LayerChecks_OnMechanicalOnMechanical_AD
Created: 8月 02, 2022 | Updated: 8月 02, 2022
| Applies to version: 4
This document is no longer available beyond version 4. Information can now be found here: OnMechanical for version 5
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.